new shapes and fps limiter

This commit is contained in:
2026-01-26 16:20:34 +02:00
parent fed672f23e
commit 16638d9f08
4 changed files with 65 additions and 39 deletions

View File

@@ -14,6 +14,7 @@ struct ShapeInfo {
class Shape {
public:
glm::vec3 pos;
glm::vec3 rotation;
glm::vec3 scale;
@@ -28,7 +29,6 @@ public:
private:
std::vector<float> vertices;
std::vector<unsigned int> indices;
glm::vec3 pos;
unsigned int vao;
unsigned int vbo;
unsigned int ebo;