|
group2 0.1.0
CSE 125 Group 2
|
Full CPU simulation state for one dissolve particle. More...
Public Attributes | |
| glm::vec3 | basePos |
| Resting (pre-dissolve) world position. | |
| glm::vec3 | vel |
| Drift velocity once active. | |
| glm::vec4 | color |
| Base tint (alpha is faded per frame). | |
| float | size = 1.5f |
| Billboard half-extent (world units). | |
| float | delay = 0.0f |
| Seconds to hold at basePos before drifting. | |
| float | age = 0.0f |
| Seconds since spawn. | |
| float | fly = 1.5f |
| Drift+fade duration after the delay. | |
Full CPU simulation state for one dissolve particle.
| float DeathDissolveEffect::Particle::age = 0.0f |
Seconds since spawn.
| glm::vec3 DeathDissolveEffect::Particle::basePos |
Resting (pre-dissolve) world position.
| glm::vec4 DeathDissolveEffect::Particle::color |
Base tint (alpha is faded per frame).
| float DeathDissolveEffect::Particle::delay = 0.0f |
Seconds to hold at basePos before drifting.
| float DeathDissolveEffect::Particle::fly = 1.5f |
Drift+fade duration after the delay.
| float DeathDissolveEffect::Particle::size = 1.5f |
Billboard half-extent (world units).
| glm::vec3 DeathDissolveEffect::Particle::vel |
Drift velocity once active.