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

Smoke / fire billboard (uses noise texture for volumetric look). More...

#include <ParticleTypes.hpp>

Public Attributes

glm::vec3 pos
 
float size
 Grows from 30 → 120 units over lifetime.
 
glm::vec4 color
 Pre-multiplied alpha; fades 0→0.35→0.
 
float rotation
 Slow random spin (0.1–0.3 rad/s).
 
float normalizedAge
 0 (just spawned) → 1 (about to die).
 
float maxLifetime
 3–5 s.
 
float _pad
 

Detailed Description

Smoke / fire billboard (uses noise texture for volumetric look).

Member Data Documentation

◆ _pad

float SmokeParticle::_pad

◆ color

glm::vec4 SmokeParticle::color

Pre-multiplied alpha; fades 0→0.35→0.

◆ maxLifetime

float SmokeParticle::maxLifetime

3–5 s.

◆ normalizedAge

float SmokeParticle::normalizedAge

0 (just spawned) → 1 (about to die).

◆ pos

glm::vec3 SmokeParticle::pos

◆ rotation

float SmokeParticle::rotation

Slow random spin (0.1–0.3 rad/s).

◆ size

float SmokeParticle::size

Grows from 30 → 120 units over lifetime.


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