group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
BillboardParticle Struct Reference

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).

Detailed Description

Single billboard particle (sparks, impact flash, shockwave ring).

Member Data Documentation

◆ color

glm::vec4 BillboardParticle::color

RGBA; alpha used by additive blend for brightness.

◆ lifetime

float BillboardParticle::lifetime

Seconds remaining (particle dies when <= 0).

◆ pos

glm::vec3 BillboardParticle::pos

◆ size

float BillboardParticle::size

Half-extent of the camera-facing quad.

◆ vel

glm::vec3 BillboardParticle::vel

CPU-simulated velocity (gravity applied per frame).


The documentation for this struct was generated from the following file: