2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27: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

@@ -88,8 +88,8 @@ zeus::CVector3f CBurstFire::GetError(float xMag, float zMag) const
if (r0 > 0)
{
float angle = r0 * zeus::degToRad(-22.5f);
ret.x = std::cos(angle) * xMag;
ret.z = std::sin(angle) * zMag;
ret.x() = std::cos(angle) * xMag;
ret.z() = std::sin(angle) * zMag;
}
}
return ret;