Introduce Math.hpp and use typedef to make replacing glm with something else in the future simpler
This commit is contained in:
@@ -42,7 +42,7 @@ namespace openVulkanoCpp
|
||||
if(bufferId != lastUpdate)
|
||||
{
|
||||
lastUpdate = bufferId;
|
||||
buffer->Update(&node->worldMat, sizeof(glm::mat4x4), bufferId);
|
||||
buffer->Update(&node->worldMat, sizeof(Math::Matrix4f), bufferId);
|
||||
}
|
||||
buffer->Record(cmdBuffer, bufferId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user