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,13 +0,0 @@
1
-#version 150
2
-
3
-in vec2 texCoord;
4
-
5
-out vec4 outColor;
6
-
7
-uniform sampler2D tex;
8
-
9
-
10
-void main(void)
11
-{
12
-	outColor = texture(tex, texCoord);
13
-}
Browse code

Refactor source files

Robert Cranston authored on 27/02/2024 02:27:36
Showing 1 changed files
... ...
@@ -1,9 +1,12 @@
1 1
 #version 150
2 2
 
3
-out vec4 outColor;
4 3
 in vec2 texCoord;
4
+
5
+out vec4 outColor;
6
+
5 7
 uniform sampler2D tex;
6 8
 
9
+
7 10
 void main(void)
8 11
 {
9 12
 	outColor = texture(tex, texCoord);
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,10 @@
1
+#version 150
2
+
3
+out vec4 outColor;
4
+in vec2 texCoord;
5
+uniform sampler2D tex;
6
+
7
+void main(void)
8
+{
9
+	outColor = texture(tex, texCoord);
10
+}