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

@@ -90,12 +90,12 @@ void CParticleSwoosh::UpdateMaxRadius(float r)
void CParticleSwoosh::UpdateBounds(const zeus::CVector3f& pos)
{
x1fc_aabbMax[0] = std::max(pos[0], x1fc_aabbMax[0]);
x1fc_aabbMax[1] = std::max(pos[1], x1fc_aabbMax[1]);
x1fc_aabbMax[2] = std::max(pos[2], x1fc_aabbMax[2]);
x1f0_aabbMin[0] = std::min(pos[0], x1f0_aabbMin[0]);
x1f0_aabbMin[1] = std::min(pos[1], x1f0_aabbMin[1]);
x1f0_aabbMin[2] = std::min(pos[2], x1f0_aabbMin[2]);
x1fc_aabbMax[0] = std::max(pos[0], float(x1fc_aabbMax[0]));
x1fc_aabbMax[1] = std::max(pos[1], float(x1fc_aabbMax[1]));
x1fc_aabbMax[2] = std::max(pos[2], float(x1fc_aabbMax[2]));
x1f0_aabbMin[0] = std::min(pos[0], float(x1f0_aabbMin[0]));
x1f0_aabbMin[1] = std::min(pos[1], float(x1f0_aabbMin[1]));
x1f0_aabbMin[2] = std::min(pos[2], float(x1f0_aabbMin[2]));
}
float CParticleSwoosh::GetLeftRadius(int i) const