Commit Graph

33 Commits

Author SHA1 Message Date
679cf64a30 Remove unused variable 2024-09-28 21:33:53 +01:00
4967b33479 Calculate view_direction from camera rotation 2024-09-28 21:21:26 +01:00
6721044b6d Fix first person camera rotation 2024-09-28 19:38:57 +01:00
69cca0d308 Attempt to fix first person camera implementation 2024-09-24 00:40:34 +01:00
229b039617 Add view matrix and start implementing camera movement 2024-09-23 00:04:15 +01:00
8e00014ad0 Update VAO comment 2024-09-22 20:26:03 +01:00
28f3d71ff7 Fix VAO comment 2024-09-22 20:24:00 +01:00
e9f6f59678 Add translation, rotation and scale matrices 2024-09-22 20:22:38 +01:00
1f593b96ac Setup projection matrix and position the quad properly 2024-09-22 16:24:29 +01:00
8738f57c38 Switch to translating the quad using a translation matrix 2024-09-22 15:56:07 +01:00
ddf657d5ed Only send offset uniform if it was found 2024-09-22 15:11:47 +01:00
665d86426b Remove unnecessary include 2024-09-22 14:52:10 +01:00
54ce536842 Fix includes 2024-09-22 14:51:31 +01:00
8854dab2f2 Extract offset modifier to a variable 2024-09-22 14:50:35 +01:00
abef6c368f Add uniform values 2024-09-22 14:46:12 +01:00
ad6b809b86 Add glm 2024-09-21 23:24:40 +01:00
63bdec4556 Draw quad 2024-09-21 20:35:16 +01:00
d50a06d215 Add colour attribute to triangle vertices 2024-09-21 19:33:23 +01:00
a711521f17 Load shaders from file 2024-09-21 18:01:11 +01:00
0b7da3fad7 Cleanup, extra comments and error logging 2024-09-15 23:20:10 +01:00
aa75721e94 Update VBO explanation 2024-09-15 21:56:56 +01:00
16783dc090 Draw first triangle 2024-09-15 21:49:43 +01:00
5ba599981f Update enum 2024-09-15 19:17:12 +01:00
c30caa7ef2 Reformat 2024-09-15 19:08:57 +01:00
fc6a11f279 Update README.md 2024-09-15 19:06:40 +01:00
6cd8a00958 Initial OpenGL setup 2024-09-15 19:04:13 +01:00
f0b38b2b5d Get glad and update compile script 2024-09-15 19:03:45 +01:00
8ad090b582 Reorganise the repo 2024-01-14 16:51:54 +00:00
0ed130b659 Add basic build scripts 2024-01-14 16:50:15 +00:00
99c6dbeecf Fix minor bug 2024-01-07 22:09:54 +00:00
41f12d2a98 Modified README 2023-01-28 22:44:58 +00:00
8c27f2b770 Added README 2023-01-28 22:44:07 +00:00
883773d07c INITIAL COMMIT 2023-01-28 22:42:25 +00:00