mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
zeus constexpr refactor and thermal visor fixes
This commit is contained in:
@@ -159,7 +159,7 @@ void CCinematicCamera::Think(float dt, CStateManager& mgr) {
|
||||
x1f8_passedTarget = idx;
|
||||
SendArrivedMsg(x1c8_targetArrivals[x1f8_passedTarget], mgr);
|
||||
}
|
||||
zeus::CVector3f upVec = orientation.transform(zeus::CVector3f::skUp);
|
||||
zeus::CVector3f upVec = orientation.transform(zeus::skUp);
|
||||
if ((target - viewPoint).toVec2f().magnitude() < 0.0011920929f)
|
||||
SetTranslation(target);
|
||||
else
|
||||
@@ -174,7 +174,7 @@ void CCinematicCamera::Think(float dt, CStateManager& mgr) {
|
||||
else
|
||||
target.z() += mgr.GetPlayer().GetEyeHeight();
|
||||
|
||||
zeus::CVector3f upVec = orientation.transform(zeus::CVector3f::skUp);
|
||||
zeus::CVector3f upVec = orientation.transform(zeus::skUp);
|
||||
if ((target - viewPoint).toVec2f().magnitude() < 0.0011920929f)
|
||||
SetTranslation(target);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user