Commit Graph

4 Commits

Author SHA1 Message Date
646efa9383 ♻️ (engine): store Mesh3D objects as unique_ptr for safer memory handling 2025-10-24 09:50:00 +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
f5430f4dd7 Add Mesh3D class for loading OBJ files 2025-10-15 10:03:25 +02:00
11d4aac4ce added the other files 2025-10-15 08:17:32 +02:00