Remove seconds property from PerspectivePlane
This commit is contained in:
@@ -10,7 +10,6 @@ import org.openrndr.math.transforms.transform
|
||||
|
||||
@Description("Perspective plane")
|
||||
class PerspectivePlane : Filter(Shader.createFromCode(filterVertexCode, filterFragmentCode("distort/perspective-plane.frag"))) {
|
||||
|
||||
// @DoubleParameter("camera x", -1.0, 1.0, order = 0)
|
||||
var cameraX: Double = 0.0
|
||||
// @DoubleParameter("camera y", -1.0, 1.0, order = 1)
|
||||
@@ -37,9 +36,7 @@ class PerspectivePlane : Filter(Shader.createFromCode(filterVertexCode, filterFr
|
||||
@BooleanParameter("tile input")
|
||||
var tile: Boolean by parameters
|
||||
|
||||
var seconds:Double by parameters
|
||||
init {
|
||||
seconds = 0.0
|
||||
tile = false
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@ uniform sampler2D tex0;
|
||||
in vec2 v_texCoord0;
|
||||
uniform vec3 cameraPosition;
|
||||
uniform vec3 planePosition;
|
||||
uniform float seconds;
|
||||
uniform mat4 planeMatrix;
|
||||
uniform bool tile;
|
||||
uniform vec2 targetSize;
|
||||
|
||||
Reference in New Issue
Block a user