new shapes and fps limiter
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user