mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
Lots of bug fixes
This commit is contained in:
@@ -153,7 +153,7 @@ void CFirstPersonCamera::UpdateTransform(CStateManager& mgr, float dt)
|
||||
const CActor* act = TCastToConstPtr<CActor>(mgr.GetObjectById(player->x310_orbitTargetId));
|
||||
if (act && act->GetMaterialList().HasMaterial(EMaterialTypes::Orbit))
|
||||
{
|
||||
zeus::CVector3f v = player->x314_orbitPoint.y - eyePos;
|
||||
zeus::CVector3f v = player->x314_orbitPoint - eyePos;
|
||||
if (v.canBeNormalized())
|
||||
v.normalize();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user