mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
SIMD refactor
This commit is contained in:
@@ -199,9 +199,9 @@ void CCinematicCamera::Think(float dt, CStateManager& mgr)
|
||||
{
|
||||
zeus::CVector3f target = mgr.GetPlayer().GetTranslation();
|
||||
if (mgr.GetPlayer().GetMorphballTransitionState() == CPlayer::EPlayerMorphBallState::Morphed)
|
||||
target.z += mgr.GetPlayer().GetMorphBall()->GetBallRadius();
|
||||
target.z() += mgr.GetPlayer().GetMorphBall()->GetBallRadius();
|
||||
else
|
||||
target.z += mgr.GetPlayer().GetEyeHeight();
|
||||
target.z() += mgr.GetPlayer().GetEyeHeight();
|
||||
|
||||
zeus::CVector3f upVec = orientation.transform(zeus::CVector3f::skUp);
|
||||
if ((target - viewPoint).toVec2f().magnitude() < 0.0011920929f)
|
||||
|
||||
Reference in New Issue
Block a user