glm matrix initialization
This commit is contained in:
parent
e7b371eef3
commit
cd8274c294
49 changed files with 127 additions and 127 deletions
|
|
@ -1047,7 +1047,7 @@ public:
|
|||
{
|
||||
uboSceneMatrices.projection = camera.matrices.perspective;
|
||||
uboSceneMatrices.view = camera.matrices.view;
|
||||
uboSceneMatrices.model = glm::mat4();
|
||||
uboSceneMatrices.model = glm::mat4(1.0f);
|
||||
|
||||
VK_CHECK_RESULT(uniformBuffers.sceneMatrices.map());
|
||||
uniformBuffers.sceneMatrices.copyTo(&uboSceneMatrices, sizeof(uboSceneMatrices));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue