Commit Graph

24 Commits

Author SHA1 Message Date
66761b8e5d feat!: rework header files 2026-01-06 20:07:44 +01:00
f4f9f4a7ac feat(core.hpp): add central import file 2026-01-06 20:06:25 +01:00
37a191a8dd chore(p_cube.hpp): move hpp file to include dir 2026-01-04 21:14:07 +01:00
7f70d00e4c feat: add a few improvements of cube logic 2025-12-30 14:27:11 +01:00
8f4eb04b2d feat(shape)!: redefine as base class for cube and other shapes 2025-12-28 18:32:56 +01:00
9d99f9444f chore(camera)!: replace global glm headers with separated ones 2025-12-28 18:02:35 +01:00
bcc999e4a7 feat(shape)!: add shape super class 2025-12-09 20:05:07 +01:00
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
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