Commit Graph

3 Commits

Author SHA1 Message Date
0ffaffc83e ♻️ (engine): refactor object storage to unique_ptr and improve mesh handling
- Add face counter in Mesh3D
- Switch objects map to std::unique_ptr<Mesh3D>
- Update VAO/VBO binding syntax accordingly
- Adjust cube rendering logic and camera position
- Simplify vertex data, load external model instead of hardcoded vertices
- Change main window size to 1000x1000
- Clean up includes and debug prints
2025-10-24 09:49:05 +02:00
430b1fb364 ♻️ (engine, Mesh3D): refactor 3D object handling
- Introduce Mesh3D class with vertices, texture, VBO/VAO.
- Replace Object3D struct and textures map in engine with Mesh3D objects.
- Update createObject to load from file path instead of vertex array.
- Adjust cube rendering to use new vertex count.
- Remove debug prints from Texture2D loading.
- Toggle fragment shader color vs texture usage.
2025-10-24 07:58:20 +02:00
11d4aac4ce added the other files 2025-10-15 08:17:32 +02:00