mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Fix camera glitch (#1031)
This commit is contained in:

committed by
GitHub

parent
e5d66d597d
commit
dd1c11a933
@@ -706,12 +706,10 @@ void TimeROI::FUN_100a9b40(Matrix4& p_matrix, LegoTime p_time)
|
||||
m_time = p_time;
|
||||
|
||||
Mx3DPointFloat targetPosition(p_matrix[3]);
|
||||
Vector3 vec(m_local2world[3]);
|
||||
|
||||
// TODO: Figure out how to get type right for the call
|
||||
((Vector3&) targetPosition).Sub(Vector3(m_local2world[3]));
|
||||
|
||||
float division = time * 0.001;
|
||||
((Vector3&) targetPosition).Div(division);
|
||||
((Vector3&) targetPosition).Sub(vec);
|
||||
((Vector3&) targetPosition).Div(time * 0.001);
|
||||
|
||||
FUN_100a5a30(targetPosition);
|
||||
}
|
||||
|
Reference in New Issue
Block a user