Commit Graph

62 Commits

Author SHA1 Message Date
3c7e931a89 chore(vao): add comments 2026-01-07 19:23:27 +01:00
ed73fc5483 feat(shader): rework files and add comments 2026-01-07 19:13:32 +01:00
b5c1d8ecb1 fix(vbo.hpp): replace stddef.h to cstddef 2026-01-07 16:38:43 +01:00
8985c7812d feat(ebo): rework and add comments 2026-01-07 16:38:07 +01:00
bf782efa85 fix(vbo.cpp): add core namespace to functions 2026-01-07 13:50:49 +01:00
ea5aed80d2 feat(vbo): add core namespace 2026-01-07 13:49:16 +01:00
ab42e5489f chore(core.hpp): add comments 2026-01-07 13:47:04 +01:00
a2804d3da2 feat(VBOs): rework vbo functions and add comments 2026-01-07 13:46:01 +01:00
92e190c1a4 feat(p_cube.hpp): add vertice & indice length 2026-01-06 22:13:09 +01:00
cc956449c7 feat(p_cube.hpp): move to res/inc folder 2026-01-06 20:09:27 +01:00
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
773c0b559c feat(main.cpp): rework main file 2026-01-04 21:16:38 +01:00
b09b2a27a8 fix(cube.hpp): replace render/../p_cube.hpp to p_cube.hpp 2026-01-04 21:15:38 +01:00
e5af04ed39 feat(CMakeLists): add ImGUI cpp files to build 2026-01-04 21:14:52 +01:00
37a191a8dd chore(p_cube.hpp): move hpp file to include dir 2026-01-04 21:14:07 +01:00
2392043f42 chore: start writing README file 2026-01-04 18:03:29 +01:00
3698f3b2e5 fix: use extern "C" and ensure shaders are built before main 2026-01-03 18:41:41 +01:00
1d8263307d fix(glsl2c): place const to the variables 2026-01-03 18:11:20 +01:00
721a3ceaa0 fix: rework cube.cpp file 2026-01-02 20:06:30 +01:00
379203eadf fix(primitives/cube.hpp): change type to list 2026-01-02 10:49:28 +01:00
877da5aa5f rework(CMakeLists): rework file and add shader compilation 2026-01-02 10:48:38 +01:00
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