This commit is contained in:
2023-06-03 17:41:46 +02:00
parent 4e866c1032
commit 3970103b01
7 changed files with 59 additions and 54 deletions

View File

@@ -15,7 +15,7 @@ public:
struct Model {
GL::VertexArray* vao;
Vec2f positon;
Vec3f positon;
Vec3f color = { 1, 1, 1 };
};
private:

View File

@@ -21,7 +21,7 @@ public:
void SetColorEffect(const Vec3f& color);
void SetProjectionMatrix(const maths::Mat4f& proj) const;
void SetViewMatrix(const maths::Mat4f& view) const;
void SetModelPos(const Vec2f& pos) const;
void SetModelPos(const Vec3f& pos) const;
};
} // namespace shader