Graphics: Improve WorldInstance handling

This commit is contained in:
Jérôme Leclercq
2021-06-20 13:31:49 +02:00
parent 3ef3580ee7
commit 6f87a01fb2
5 changed files with 9 additions and 3 deletions

View File

@@ -23,6 +23,11 @@ namespace Nz
return *m_shaderBinding;
}
inline const ShaderBinding& WorldInstance::GetShaderBinding() const
{
return *m_shaderBinding;
}
inline void WorldInstance::UpdateWorldMatrix(const Matrix4f& worldMatrix)
{
m_worldMatrix = worldMatrix;