Reformat
This commit is contained in:
parent
7ebcca1dc8
commit
6e760546c7
10
src/main.cc
10
src/main.cc
@ -54,16 +54,16 @@ struct Camera {
|
|||||||
glm::vec2 rotation;
|
glm::vec2 rotation;
|
||||||
|
|
||||||
// View matrix to be sent as uniform to the vertex shader
|
// 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
|
// Projection matrix to be sent as uniform to the vertex shader
|
||||||
glm::mat4 projection_mat;
|
glm::mat4 projection_mat;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Transform {
|
struct Transform {
|
||||||
glm::mat4 translation;
|
glm::mat4 translation;
|
||||||
glm::mat4 rotation;
|
glm::mat4 rotation;
|
||||||
glm::mat4 scale;
|
glm::mat4 scale;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Mesh {
|
struct Mesh {
|
||||||
|
Loading…
Reference in New Issue
Block a user