Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
ParticleStretch.hpp File Reference
#include "../core/Types.hpp"
#include <glm/glm.hpp>
#include <cmath>
Include dependency graph for ParticleStretch.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esengine::particle::StretchedQuad
 How a stretched particle's quad is laid along its velocity. More...

Namespaces

namespace  esengine
namespace  esengine::particle

Functions

glm::vec2 esengine::particle::velocityOnScreen (const glm::vec3 &velocity, const glm::vec3 &towardViewer)
StretchedQuad esengine::particle::stretchedQuad (glm::vec2 velocity, f32 rotation, f32 size, f32 lengthScale, f32 velocityScale)