particle color
This commit is contained in:
parent
12ae8adca6
commit
c87a7ab183
1 changed files with 4 additions and 0 deletions
|
@ -61,6 +61,7 @@ public class Particle
|
||||||
public Vec3 pos, vel;
|
public Vec3 pos, vel;
|
||||||
public Quat ori;
|
public Quat ori;
|
||||||
public float scl;
|
public float scl;
|
||||||
|
public Color col;
|
||||||
|
|
||||||
public Particle()
|
public Particle()
|
||||||
{
|
{
|
||||||
|
@ -69,6 +70,9 @@ public class Particle
|
||||||
this.vel = Vec3.Zero;
|
this.vel = Vec3.Zero;
|
||||||
this.ori = Quat.Identity;
|
this.ori = Quat.Identity;
|
||||||
this.scl = 0.0f;
|
this.scl = 0.0f;
|
||||||
|
this.col = Color.White;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public class ParticleSystem
|
public class ParticleSystem
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue