mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-15 16:16:14 +00:00
Change CTransform4f to inherit from CMatrix4f
This commit is contained in:
@@ -124,7 +124,7 @@ void CSceneNode::SetInheritance(bool InheritPos, bool InheritRot, bool InheritSc
|
||||
|
||||
void CSceneNode::LoadModelMatrix()
|
||||
{
|
||||
CGraphics::sMVPBlock.ModelMatrix = Transform().ToMatrix4f();
|
||||
CGraphics::sMVPBlock.ModelMatrix = Transform();
|
||||
CGraphics::UpdateMVPBlock();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user