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

@@ -18,7 +18,7 @@ void CFlameWarp::ModifyParticles(std::vector<CParticle>& particles)
u8 idx = 0;
for (CParticle& particle : particles)
{
float transp = 1.f - particle.x34_color.a;
float transp = 1.f - particle.x34_color.a();
if (transp > maxTransp)
{
float distSq = (particle.x4_pos - x74_warpPoint).magSquared();