2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +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

@@ -62,9 +62,9 @@ CProjectileWeapon::CProjectileWeapon(const TToken<CWeaponDescription>& wDesc, co
zeus::CTransform xf;
zeus::CVector3f orn;
iorn->GetValue(0, orn);
xf.rotateLocalX(zeus::degToRad(orn.x));
xf.rotateLocalY(zeus::degToRad(orn.y));
xf.rotateLocalZ(zeus::degToRad(orn.z));
xf.rotateLocalX(zeus::degToRad(orn.x()));
xf.rotateLocalY(zeus::degToRad(orn.y()));
xf.rotateLocalZ(zeus::degToRad(orn.z()));
SetRelativeOrientation(xf);
}
else
@@ -435,9 +435,9 @@ void CProjectileWeapon::UpdatePSTranslationAndOrientation()
psov->GetValue(xf4_curFrame, orient);
zeus::CTransform xf = x44_localXf;
xf.rotateLocalX(zeus::degToRad(orient.x));
xf.rotateLocalY(zeus::degToRad(orient.y));
xf.rotateLocalZ(zeus::degToRad(orient.z));
xf.rotateLocalX(zeus::degToRad(orient.x()));
xf.rotateLocalY(zeus::degToRad(orient.y()));
xf.rotateLocalZ(zeus::degToRad(orient.z()));
SetRelativeOrientation(xf);
}