Add orx-fx, the new home for what was in openrndr-filter before
This commit is contained in:
10
orx-fx/src/main/kotlin/transform/FlipVertically.kt
Normal file
10
orx-fx/src/main/kotlin/transform/FlipVertically.kt
Normal file
@@ -0,0 +1,10 @@
|
||||
package org.openrndr.extra.fx.transform
|
||||
|
||||
import org.openrndr.draw.Filter
|
||||
import org.openrndr.draw.Shader
|
||||
import org.openrndr.extra.fx.filterFragmentCode
|
||||
|
||||
/**
|
||||
* Vertically flips in the input image
|
||||
*/
|
||||
class FlipVertically : Filter(Shader.createFromCode(Filter.filterVertexCode, filterFragmentCode("transform/flip-vertically.frag")))
|
||||
Reference in New Issue
Block a user