From c87a7ab1830dea965722d1f112479569cf22926f Mon Sep 17 00:00:00 2001 From: spatialfree Date: Sat, 21 Dec 2024 09:36:33 -0500 Subject: [PATCH] particle color --- src/VFX.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/VFX.cs b/src/VFX.cs index 310f539..77eed08 100644 --- a/src/VFX.cs +++ b/src/VFX.cs @@ -61,6 +61,7 @@ public class Particle public Vec3 pos, vel; public Quat ori; public float scl; + public Color col; public Particle() { @@ -69,6 +70,9 @@ public class Particle this.vel = Vec3.Zero; this.ori = Quat.Identity; this.scl = 0.0f; + this.col = Color.White; + } +} public class ParticleSystem {