Commit Graph

31 Commits

Author SHA1 Message Date
Archie Hilton 89c8589c21 Use an enum for texture setup 2024-05-27 15:31:14 +01:00
Archie Hilton 06e7e308cc main: Add another useless quad 2024-05-26 21:53:20 +01:00
Archie Hilton a65885d2bf quad: Actually use the rotation member 2024-05-26 21:53:12 +01:00
Archie Hilton 25087ea6b4 texture: Implement my own stupid header validation because libpngs dumb one doesnt work for some got dang reason
gosh
2024-05-26 21:36:28 +01:00
Archie Hilton a60def7a02 texture: Use texture abstraction 2024-05-26 20:46:22 +01:00
Archie Hilton c904055632 debug: Use a real logging library 2024-05-26 19:53:26 +01:00
Archie Hilton 3584b4c861 Get textures working 2024-05-24 21:38:16 +01:00
Archie Hilton 06ae06f0d9 Add a proper coordinate system 2024-05-14 23:04:06 +01:00
Archie Hilton cc697b7a7c Stop spinning quads around like a madman 2024-05-14 22:03:17 +01:00
Archie Hilton d3506737f0 Wrap glfwTerminate() in DEBUG symbol
This prevents asan from spitting out a lot of unhelpful warnings.
2024-05-14 22:01:38 +01:00
Archie Hilton ec0155bc77 Enable openGL debug output 2024-05-14 21:49:11 +01:00
Archie Hilton fb4a412db5 Delete VBO on mesh deletion 2024-05-14 21:48:58 +01:00
Archie Hilton 2e5c5fdf8c Delete shaders after program compilation 2024-05-14 21:48:49 +01:00
Archie Hilton f5883d0219 Close shader file handles once done 2024-05-14 21:48:33 +01:00
Archie Hilton aa8c0f8594 Switch to GLFW 3.4 2024-05-14 21:48:20 +01:00
Archie Hilton 78c38fcc2d Enable asan and ubsan 2024-05-14 21:48:06 +01:00
Archie Hilton 50461ad4c8 Clean up quads after finishing 2024-05-14 21:15:17 +01:00
Archie Hilton 4ce0f0d2f4 Add vector of quads instead of just one 2024-05-14 21:13:18 +01:00
Archie Hilton 1b9b0d85e6 Add framebuffer resize callback 2024-05-14 21:13:05 +01:00
Archie Hilton 4eb6d9de2c Move object and vertex data into Quad and Mesh 2024-05-14 21:04:15 +01:00
Archie Hilton 2141e9d338 Add stb_image so we can begin texture work 2024-05-11 20:10:10 +01:00
Archie Hilton ef03920fa6 Add rotation and translation uniforms 2024-05-10 22:23:35 +01:00
Archie Hilton 267bd2216c Remove build files 2024-05-10 20:54:41 +01:00
Archie Hilton 4a49261722 add build to gitignore 2024-05-10 20:53:59 +01:00
Archie Hilton d7996a991e wip: Basic spinning triangle demonstration 2024-05-06 18:14:17 +01:00
Archie Hilton 487dae631f Specifically use C++20 2024-05-06 18:13:57 +01:00
Archie Hilton 0402051837 Clean up build dir, shouldn't be committed 2024-05-06 18:13:43 +01:00
Archie Hilton 67048a14f4 Add link to the thing I'm following 2024-04-19 22:54:25 +01:00
Archie Hilton dc6292b46f Add glm; go back to basic glfw window context 2024-04-19 22:35:25 +01:00
Archie Hilton 6ed4c3ed17 Initial code commit 2024-04-08 21:08:39 +01:00
Archie Hilton 55b86fcd01 2024-04-08 19:59:14 +01:00