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

@@ -64,9 +64,9 @@ bool CVEAngleSphere::GetValue(int frame, zeus::CVector3f& pPos, zeus::CVector3f&
e = zeus::degToRad(e + ((0.5f * (g * rand->Float())) - g));
float cosD = std::cos(d);
pPos.x = a.x + (b * (-std::sin(e) * cosD));
pPos.y = a.y + (b * std::sin(d));
pPos.z = a.z + (b * (cosD * cosD));
pPos.x() = a.x() + (b * (-std::sin(e) * cosD));
pPos.y() = a.y() + (b * std::sin(d));
pPos.z() = a.z() + (b * (cosD * cosD));
zeus::CVector3f normVec = (pPos - a).normalized();
float c;