Browse code

Unify lab1 and lab4

Robert Cranston authored on 27/02/2024 02:27:37
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,8 +0,0 @@
1
-#version 150
2
-
3
-in  vec3 inPosition;
4
-
5
-void main(void)
6
-{
7
-	gl_Position = vec4(inPosition, 1.0);
8
-}
Browse code

Refactor source files

Robert Cranston authored on 27/02/2024 02:27:36
Showing 1 changed files
... ...
@@ -1,8 +1,8 @@
1 1
 #version 150
2 2
 
3
-in  vec3 in_Position;
3
+in  vec3 inPosition;
4 4
 
5 5
 void main(void)
6 6
 {
7
-	gl_Position = vec4(in_Position, 1.0);
7
+	gl_Position = vec4(inPosition, 1.0);
8 8
 }
Browse code

Remove executable bit on files

find . -type f -exec chmod -x {} +

Robert Cranston authored on 27/02/2024 02:27:27
Showing 1 changed files
1 1
old mode 100755
2 2
new mode 100644
Browse code

Add cpp-v1

Ingemar Ragnemalm authored on 21/02/2024 20:24:28 • Robert Cranston committed on 21/02/2024 20:24:28
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,8 @@
1
+#version 150
2
+
3
+in  vec3 in_Position;
4
+
5
+void main(void)
6
+{
7
+	gl_Position = vec4(in_Position, 1.0);
8
+}