mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 01:28:30 -05:00
Match LegoPointOfViewController::Tickle (#726)
This commit is contained in:
parent
2261f7f039
commit
0ed9f37587
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ MxResult LegoPointOfViewController::Tickle()
|
||||||
Vector3 pos(pov->GetWorldPosition());
|
Vector3 pos(pov->GetWorldPosition());
|
||||||
Vector3 dir(pov->GetWorldDirection());
|
Vector3 dir(pov->GetWorldDirection());
|
||||||
|
|
||||||
if (m_nav->CalculateNewPosDir(pos, dir, newDir, newPos, NULL)) {
|
if (m_nav->CalculateNewPosDir(pos, dir, newPos, newDir, NULL)) {
|
||||||
MxMatrix mat;
|
MxMatrix mat;
|
||||||
|
|
||||||
CalcLocalTransform(newPos, newDir, pov->GetWorldUp(), mat);
|
CalcLocalTransform(newPos, newDir, pov->GetWorldUp(), mat);
|
||||||
|
|
Loading…
Reference in a new issue