|
group2 0.1.0
CSE 125 Group 2
|
Implementation of volumetric smoke billboard particle effect. More...
#include "SmokeEffect.hpp"#include "ecs/components/ParticleEmitterTag.hpp"#include "ecs/components/Position.hpp"#include <algorithm>#include <cmath>#include <cstdlib>#include <glm/glm.hpp>#include <glm/gtc/constants.hpp>Functions | |
| static float | randf () |
| Return a random float in [0, 1]. | |
| static float | randRange (float lo, float hi) |
| Return a random float in [lo, hi]. | |
Implementation of volumetric smoke billboard particle effect.
|
static |
Return a random float in [0, 1].
|
static |
Return a random float in [lo, hi].
| lo | Lower bound (inclusive). |
| hi | Upper bound (inclusive). |