Match LegoPointOfViewController::Tickle (#726)

This commit is contained in:
Christian Semmler 2024-03-25 10:00:59 -04:00 committed by GitHub
parent 2261f7f039
commit 0ed9f37587
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -148,7 +148,7 @@ MxResult LegoPointOfViewController::Tickle()
Vector3 pos(pov->GetWorldPosition());
Vector3 dir(pov->GetWorldDirection());
if (m_nav->CalculateNewPosDir(pos, dir, newDir, newPos, NULL)) {
if (m_nav->CalculateNewPosDir(pos, dir, newPos, newDir, NULL)) {
MxMatrix mat;
CalcLocalTransform(newPos, newDir, pov->GetWorldUp(), mat);