|
group2 0.1.0
CSE 125 Group 2
|
Component attached to fast-bullet projectile entities. More...
#include <TracerEmitter.hpp>
Public Attributes | |
| glm::vec3 | prevPos {} |
| Position from previous frame (tail anchor). | |
| float | radius = 2.0f |
| Cross-section half-width in world units. | |
| glm::vec4 | coreColor {1.f, 0.7f, 0.25f, 1.f} |
| Orange-yellow hot core. | |
| glm::vec4 | edgeColor {1.f, 0.45f, 0.05f, 0.f} |
| Deep orange glow, alpha=0 at edge. | |
Component attached to fast-bullet projectile entities.
The particle system reads this each frame to update the oriented-capsule streak (tip = current pos, tail = tip - direction * streakLength).
| glm::vec4 TracerEmitter::coreColor {1.f, 0.7f, 0.25f, 1.f} |
Orange-yellow hot core.
| glm::vec4 TracerEmitter::edgeColor {1.f, 0.45f, 0.05f, 0.f} |
Deep orange glow, alpha=0 at edge.
| glm::vec3 TracerEmitter::prevPos {} |
Position from previous frame (tail anchor).
| float TracerEmitter::radius = 2.0f |
Cross-section half-width in world units.