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