summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2025-03-25 20:21:51 +0000
committer0undefined <oscar@nelin.dk>2025-04-09 09:42:37 +0000
commit6714fc8b00c8a203e876b0ebcc9dd0a07a7c800e (patch)
tree6211950f2539cdc2ae17ce9a5dee96b73c180f61 /resources
parenta2dbad8da8e6ada46e7e31440ead412c52ab3e08 (diff)
Apply MVP transformation
Diffstat (limited to 'resources')
-rw-r--r--resources/quad.vert4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/quad.vert b/resources/quad.vert
index 4aaf59c..7e5ead0 100644
--- a/resources/quad.vert
+++ b/resources/quad.vert
@@ -9,8 +9,8 @@ uniform mat4 MVP;
void main() {
gl_Position =
- //MVP * vec4( pos.x, 1, pos.y, 1);
- vec4(pos.x, 1.0, pos.y, 1.0);
+ MVP * vec4( pos.x, 1, pos.y, 1);
+ //vec4(pos.x, 1.0, pos.y, 1.0);
fragColor.x = gl_Position.x;
fragColor.y = gl_Position.y;