|
group2 0.1.0
CSE 125 Group 2
|
Single billboard particle (sparks, impact flash, shockwave ring). More...
#include <ParticleTypes.hpp>
Public Attributes | |
| glm::vec3 | pos |
| float | size |
| Half-extent of the camera-facing quad. | |
| glm::vec4 | color |
| RGBA; alpha used by additive blend for brightness. | |
| glm::vec3 | vel |
| CPU-simulated velocity (gravity applied per frame). | |
| float | lifetime |
| Seconds remaining (particle dies when <= 0). | |
Single billboard particle (sparks, impact flash, shockwave ring).
| glm::vec4 BillboardParticle::color |
RGBA; alpha used by additive blend for brightness.
| float BillboardParticle::lifetime |
Seconds remaining (particle dies when <= 0).
| glm::vec3 BillboardParticle::pos |
| float BillboardParticle::size |
Half-extent of the camera-facing quad.
| glm::vec3 BillboardParticle::vel |
CPU-simulated velocity (gravity applied per frame).