Commit Graph

22 Commits

Author SHA1 Message Date
b8a0cdfa3e feat: rework ebo, vao and vbo 2025-12-08 15:53:48 +01:00
0d5caf1d19 feat(shader)!: rework shader class
- rename IDs
- replace constructor without doing anything
- add compile function (it was the older constructor method)
2025-12-08 15:43:41 +01:00
0f15a015d4 feat(camera): add projection matrix and accessors
This commit refactors the Camera class to add clarity and better logic:

- Integrates variables directly from constructor to the header for cleaner code
- Adds getters and setters for fov, speed, cameraSensitivity and position
- Duplicates projection matrix from cube to camera
- Adds comments to the header file
- TODO: the projection matrix from the cube loop function must now be replaced by the call to the `glm::mat4 getProjectionMatrix()` camera function
2025-12-08 11:20:05 +01:00
3bd4df0253 chore: lower case all files 2025-12-06 15:03:14 +01:00
d2942242b4 feat: rework few fonctions and change glew to glad
- game files deleted
2025-12-06 14:53:19 +01:00
71ad3a034c feat(cube): add cube function 2025-11-20 06:56:33 +01:00
5a055f6c39 fix(ebo): remove const from constructor param 2025-11-20 06:55:39 +01:00
0a7b5c9254 fix(texture): move stb_image into texture.cpp file 2025-11-20 06:53:22 +01:00
1c78ff27e7 feat(shader): add few functions 2025-11-20 06:52:30 +01:00
6ccbc1c4e9 feat(Game): add getter and run functions 2025-11-19 10:44:39 +01:00
3892d29f4e feat(Game): re init Game class 2025-11-19 10:10:53 +01:00
a7583c37f4 feat: add texture folder and remove old files 2025-11-15 21:13:48 +01:00
cb103f4d90 feat(texture): add texture file 2025-11-15 20:21:37 +01:00
cd46a0f496 feat(shader): add shader file 2025-11-15 20:16:22 +01:00
26b8366645 feat(camera): add camera file 2025-11-15 20:07:26 +01:00
8bd3080a84 feat(VAO): add VAO config 2025-11-15 20:01:08 +01:00
d257c2b827 feat(EBO): add EBO config 2025-11-15 19:56:08 +01:00
789796732a feat(VBO): add vbo config 2025-11-15 19:52:36 +01:00
11c08f975b feat: add game visual and start gObserver 2025-11-15 14:35:27 +01:00
2bf123323d feat(game): move main default config to game class 2025-11-14 22:17:56 +01:00
ac5d640ec6 feat(main.cpp): default triangle test 2025-11-13 22:46:41 +01:00
87cbd04c0d feat: add src folder (with default c main) 2025-11-13 20:55:16 +01:00