Render position of the cube based on the transform component, fixed some compile issues with the previous commit

This commit is contained in:
2022-10-23 14:36:23 +02:00
parent 99eb5282e5
commit adf2331ab1
8 changed files with 32 additions and 12 deletions

View File

@ -8,13 +8,13 @@ namespace BarinkEngine {
};
struct TransformComponent {
glm::mat4& transform = glm::mat4(1.0f);
glm::mat4 transform = glm::mat4(1.0f);
};
struct CameraComponent {
glm::mat4& view;
glm::mat4 view;
};