Partially fix vector interface

This commit is contained in:
Christian Semmler
2024-06-06 11:28:13 -04:00
parent dab8e7c3c7
commit 6e7a1e2b08
15 changed files with 46 additions and 46 deletions

View File

@@ -68,9 +68,9 @@ void LegoLoopingAnimPresenter::PutFrame()
#ifdef COMPAT_MODE
Mx3DPointFloat location = m_currentWorld->GetCamera()->GetWorldLocation();
((Vector3&) up).Sub(&location);
((Vector3&) up).Sub(location);
#else
((Vector3&) up).Sub(&m_currentWorld->GetCamera()->GetWorldLocation());
((Vector3&) up).Sub(m_currentWorld->GetCamera()->GetWorldLocation());
#endif
((Vector3&) dir).Div(dirsqr);
pos.EqualsCross(&dir, &up);