27 Commits

Author SHA1 Message Date
micqdf
e5a9f37c88
Merge pull request #2 from MichaelFisher1997/shader-abstraction
Shader abstraction
2025-01-14 23:21:23 +00:00
MichaelFisher1997
47f8068cdd clang format added 2025-01-14 23:18:11 +00:00
MichaelFisher1997
6b0cc46045 shader abstracted into it own class 2025-01-14 22:57:09 +00:00
micqdf
d25b046691
Merge pull request #1 from MichaelFisher1997/openGL-abstraction
Open gl abstraction
2025-01-12 23:50:38 +00:00
MichaelFisher1997
ed0e9d8947 Segment faults fixed!! 2025-01-12 23:49:49 +00:00
MichaelFisher1997
8920379ce3 Indexbuffer improvments 2025-01-12 15:53:46 +00:00
MichaelFisher1997
fd13d0ba63 cleaned up a bit and got rid of some errors, still seg fualt 2025-01-11 20:56:58 +00:00
MichaelFisher1997
3e799fd434 cleaned up a bit and got rid of some errors, still seg fualt 2025-01-11 18:56:38 +00:00
MichaelFisher1997
ed1cc02d3e openGL abstractiopn, segment fault!! 2025-01-11 17:48:48 +00:00
MichaelFisher1997
c8764b135a added uniforms and played with vsync 2025-01-08 22:04:07 +00:00
MichaelFisher1997
13d3b73357 Added OpenGL error checking, used macros to wrap clear error and check error, has a break point and returns the line the ASSERT failed, also added a colormod to print out in colors 2025-01-07 23:34:46 +00:00
MichaelFisher1997
557033f840 added a index buffer to draw a triangle without duplications data for the positions of the 2 tringles that make up a squere 2025-01-06 20:30:18 +00:00
MichaelFisher1997
d8895a1930 Added a way to load shader from file, we use a .shader file which contains both our vertex and fragment shaders, we parse them out the file 2025-01-06 20:01:22 +00:00
MichaelFisher1997
dcfd6031d7 fized our error message make added a glDeleteProgram call when the application ends 2025-01-06 18:38:21 +00:00
MichaelFisher1997
087343599c Added a simple shader hardcoded in a string, and a function for creating and compiling the shader 2025-01-06 18:32:22 +00:00
MichaelFisher1997
3cab7282dc Added a vertex attributes and glEnable 2025-01-05 14:12:28 +00:00
MichaelFisher1997
0b32500d6f Added a vertex buffer 2025-01-05 13:51:33 +00:00
MichaelFisher1997
64bedd56c7 Added GLEW 2025-01-05 13:17:26 +00:00
MichaelFisher1997
4cd0930d2f make the window re-sizeable 2025-01-05 02:52:38 +00:00
MichaelFisher1997
438e9cd03a added OpenGL 2025-01-05 02:41:40 +00:00
MichaelFisher1997
18298f046a pre opengl 2025-01-05 02:27:36 +00:00
MichaelFisher1997
71968a3b42 added README 2025-01-05 02:09:24 +00:00
MichaelFisher1997
33398e3967 added README 2025-01-05 02:08:30 +00:00
MichaelFisher1997
d89c5c930e added build-run script and gitignore 2025-01-05 02:05:52 +00:00
MichaelFisher1997
19c7eb81d1 changed flake descript 2025-01-05 02:02:00 +00:00
MichaelFisher1997
439332ffc9 changed flake descript 2025-01-05 01:57:45 +00:00
MichaelFisher1997
803114bad0 init SDL 2025-01-05 01:30:18 +00:00