draw particles
This commit is contained in:
parent
a9ed3aec75
commit
49c789b1f5
1 changed files with 14 additions and 0 deletions
14
src/Arts.cs
14
src/Arts.cs
|
@ -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();
|
Hierarchy.Pop();
|
||||||
|
|
||||||
// for (int sx = -Mono.head_fill.Xslen; Mono.head_fill.InX(sx); sx++)
|
// for (int sx = -Mono.head_fill.Xslen; Mono.head_fill.InX(sx); sx++)
|
||||||
|
|
Loading…
Add table
Reference in a new issue