Commit Graph

40 Commits

Author SHA1 Message Date
4831312f9e rework(glsl2c): add c like architecture and types 2026-01-02 10:44:50 +01:00
239e0c2b62 fix(glsl2c.py): added a few missing things.
- place "};\n" at the end of the array
- remove Path() class to unnecessary variables such as dst
2025-12-30 16:50:32 +01:00
5c88d99026 feat(glsl2c.py): add xxd -i like program 2025-12-30 16:37:12 +01:00
7f70d00e4c feat: add a few improvements of cube logic 2025-12-30 14:27:11 +01:00
03c8f77029 feat: add imgui library & primitive shapes 2025-12-30 12:02:30 +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
a349be7064 chore: remove linux test 2025-12-06 20:12:37 +01:00
140f5439a2 chore: remove test step 2025-12-06 15:18:55 +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
202dc32bbe chore(Makefile): add own inc file 2025-11-15 19:50:54 +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
652bd75cf1 feat(gitmodules): add stb lib 2025-11-14 17:38:22 +01:00
818b948731 fix(workflows): add submodule prerequisites 2025-11-13 22:50:51 +01:00
ca0fbc51fa chore: add cmake-multi-platform 2025-11-13 22:47:33 +01:00
ac5d640ec6 feat(main.cpp): default triangle test 2025-11-13 22:46:41 +01:00
e47a8008a3 chore(CMakeLists): add default config 2025-11-13 22:44:42 +01:00
1105a131b7 chore!: add glm glfw and glew submodules 2025-11-13 22:32:12 +01:00
87cbd04c0d feat: add src folder (with default c main) 2025-11-13 20:55:16 +01:00
ea18649e93 chore: add README and .gitignore files 2025-11-13 20:53:59 +01:00
Loïc GUEZO
0c5f42c6c2 Initial commit 2025-11-13 20:52:07 +01:00