mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:47:43 +00:00
SIMD refactor
This commit is contained in:
@@ -20,8 +20,7 @@ void CRayCastResult::MakeInvalid()
|
||||
void CRayCastResult::Transform(const zeus::CTransform& xf)
|
||||
{
|
||||
x4_point = xf * x4_point;
|
||||
x10_plane.vec = xf.rotate(x10_plane.vec);
|
||||
x10_plane.d = x10_plane.vec.dot(x4_point);
|
||||
x10_plane = zeus::CPlane(xf.rotate(x10_plane.normal()), x10_plane.normal().dot(x4_point));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user