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

SIMD refactor

This commit is contained in:
Jack Andersen
2018-12-07 15:49:15 -10:00
parent e1fa938127
commit 7c7da6671a
201 changed files with 2475 additions and 1906 deletions

View File

@@ -147,7 +147,7 @@ void CWallWalker::PreThink(float dt, CStateManager& mgr)
const float futureDt = (10.f * dt);
SetTranslation(zeus::CVector3f::lerp(GetTranslation(),
GetTranslation() - (plane.pointToPlaneDist(GetTranslation()) -
x590_colSphere.GetSphere().radius - 0.01f) * plane.vec, futureDt));
x590_colSphere.GetSphere().radius - 0.01f) * plane.normal(), futureDt));
}
MoveCollisionPrimitive(zeus::CVector3f::skZero);
}