diff options
Diffstat (limited to 'data/matrix_rotation.vert')
-rw-r--r-- | data/matrix_rotation.vert | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/matrix_rotation.vert b/data/matrix_rotation.vert new file mode 100644 index 0000000..af9165d --- /dev/null +++ b/data/matrix_rotation.vert @@ -0,0 +1,10 @@ +#version 120 + +attribute vec2 z; +uniform mat2 m = mat2(1.); + +void main() +{ + gl_Position = vec4(m * z, 0.0, 1.0); + gl_PointSize = 32.; +} |