mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 03:37:47 +08:00
Fix renderable transform multiply
This commit is contained in:
@@ -300,7 +300,7 @@ namespace CodeWalker.Rendering
|
||||
{
|
||||
Matrix ptrans = (parentind < modeltransforms.Length) ? modeltransforms[parentind] : Matrix.Identity;
|
||||
ptrans.Column4 = Vector4.UnitW;
|
||||
trans = Matrix.Multiply(ptrans, trans);
|
||||
trans = Matrix.Multiply(trans, ptrans);
|
||||
parentind = ((pinds != null) && (parentind < pinds.Length)) ? pinds[parentind] : (short)-1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user