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

Initial CMetroidAreaCollider implementations

This commit is contained in:
Jack Andersen
2017-06-23 18:58:59 -10:00
parent a2c462529f
commit 35fa9b0992
6 changed files with 234 additions and 9 deletions

View File

@@ -16,13 +16,6 @@ zeus::CVector3f CCollisionSurface::GetNormal() const
return zeus::CUnitVector3f({v1.y, v1.z, v1.x}, true);
}
zeus::CVector3f CCollisionSurface::GetVert(s32 idx) const
{
if (idx < 0 || idx > 3)
return zeus::CVector3f::skZero;
return (&x0_a)[idx];
}
zeus::CPlane CCollisionSurface::GetPlane() const
{
zeus::CVector3f norm = GetNormal();