Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::TrailCenter Struct Reference

One centerline sample: world position + normalized age (0 head, 1 tail). More...

#include <TrailPlugin.hpp>

Public Attributes

glm::vec3 pos {0.0f, 0.0f, 0.0f}
f32 age01 = 0.0f

Detailed Description

One centerline sample: world position + normalized age (0 head, 1 tail).

Definition at line 15 of file TrailPlugin.hpp.

Member Data Documentation

◆ age01

f32 esengine::TrailCenter::age01 = 0.0f

Definition at line 17 of file TrailPlugin.hpp.

Referenced by esengine::TrailPlugin::collect().

◆ pos

glm::vec3 esengine::TrailCenter::pos {0.0f, 0.0f, 0.0f}

Definition at line 16 of file TrailPlugin.hpp.

Referenced by esengine::TrailPlugin::collect().


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/plugins/TrailPlugin.hpp