|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include "ParticleSystem.hpp"#include "ParticleNoise.hpp"#include <algorithm>#include <chrono>#include <cmath>#include "../core/RandomSource.hpp"#include "../ecs/components/Camera.hpp"#include "ParticleSpeedLimit.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | esengine |
| namespace | esengine::particle |
Functions | |
| static glm::vec4 | esengine::particle::sampleColorLut (const ColorLut &lut, f32 t) |
| static f32 | esengine::particle::sampleSizeLut (const SizeLut &lut, f32 t) |
| static void | esengine::particle::applyForceField (const ForceFieldInstance &ff, Particle &p, f32 dt) |
| f32 | esengine::particle::sdfDistance (const SdfColliderInstance &c, const glm::vec3 &point) |
| How far a world point is outside a collider, negative inside; what the kernel's sdfOne answers. | |