mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
SIMD refactor
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user