draw particles

This commit is contained in:
ethan merchant 2024-11-24 13:21:41 -05:00
parent a9ed3aec75
commit 49c789b1f5

View file

@ -226,6 +226,20 @@ static class Arts
);
}
// particles
Particle[] particles = VFX.particles;
for (int i = 0; i < particles.Length; i++)
{
Particle particle = particles[i];
meshes["FoodParticle"].Draw(
mat_mono,
Matrix.TRS(
particle.pos,
particle.ori,
particle.scl
)
);
}
Hierarchy.Pop();
// for (int sx = -Mono.head_fill.Xslen; Mono.head_fill.InX(sx); sx++)