mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
compat mode
This commit is contained in:
parent
a78896a3f1
commit
4c519ac185
@ -541,7 +541,12 @@ void LegoAnimPresenter::PutFrame()
|
||||
|
||||
up = und;
|
||||
|
||||
#ifdef COMPAT_MODE
|
||||
Mx3DPointFloat location = m_currentWorld->GetCamera()->GetWorldLocation();
|
||||
((Vector3&) up).Sub(&location);
|
||||
#else
|
||||
((Vector3&) up).Sub(&m_currentWorld->GetCamera()->GetWorldLocation());
|
||||
#endif
|
||||
((Vector3&) dir).Div(dirsqr);
|
||||
pos.EqualsCross(&dir, &up);
|
||||
pos.Unitize();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user