mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-17 00:47:05 +00:00
Change CTransform4f to inherit from CMatrix4f
This commit is contained in:
@@ -242,7 +242,7 @@ void CScriptNode::DrawSelection()
|
||||
CTransform4f Transform;
|
||||
Transform.Rotate(AbsoluteRotation());
|
||||
Transform.Translate(AbsolutePosition());
|
||||
CGraphics::sMVPBlock.ModelMatrix = Transform.ToMatrix4f();
|
||||
CGraphics::sMVPBlock.ModelMatrix = Transform;
|
||||
CGraphics::UpdateMVPBlock();
|
||||
|
||||
CGraphics::sPixelBlock.TintColor = CColor::skWhite;
|
||||
|
||||
Reference in New Issue
Block a user