Added projection matrix; Now 3D

This commit is contained in:
grayson committed 2021-08-27 12:57:30 -05:00
1 parent bd8df1c2cf
commit 4f1ea8327a
9 files changed
+13 -8

No files matched your search

+1 -1
View File
@@ -11,6 +11,6 @@ out vec2 texCoord;
void main() {
//gl_Position = proj * view * model * vec4(pos, 1.0);
gl_Position = model * vec4(pos, 1.0);
gl_Position = proj * model * vec4(pos, 1.0);
texCoord = texCoords;
}