This commit is contained in:
Abdelrahman Said 2024-09-29 20:13:53 +01:00
parent 7ebcca1dc8
commit 6e760546c7

View File

@ -54,16 +54,16 @@ struct Camera {
glm::vec2 rotation;
// View matrix to be sent as uniform to the vertex shader
glm::mat4 view_mat;
glm::mat4 view_mat;
// Projection matrix to be sent as uniform to the vertex shader
glm::mat4 projection_mat;
glm::mat4 projection_mat;
};
struct Transform {
glm::mat4 translation;
glm::mat4 rotation;
glm::mat4 scale;
glm::mat4 translation;
glm::mat4 rotation;
glm::mat4 scale;
};
struct Mesh {