2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:07:43 +00:00

Fix fixed position camera hint

This commit is contained in:
Jack Andersen
2018-07-09 08:08:44 -10:00
parent ef1f9d564c
commit 67197621a1
6 changed files with 7 additions and 6 deletions

View File

@@ -2285,6 +2285,7 @@ void CBallCamera::UpdateLookAtPosition(float dt, CStateManager& mgr)
lookAtOffsetAhead = moveXf * lookAtOffsetAhead;
zeus::CVector3f lookAtPosAhead = ballPos + lookAtOffsetAhead;
x1c0_lookPosAhead = lookAtPosAhead;
x1cc_fixedLookPos = ballPos + zeus::CVector3f(0.f, 0.f, lookAtOffsetAhead.z);
zeus::CVector3f aheadToCurrentLookDelta = x1d8_lookPos - lookAtPosAhead;
float aheadToCurrentLookMag = aheadToCurrentLookDelta.magnitude();
if (aheadToCurrentLookDelta.canBeNormalized())