group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
TracerEmitter.hpp
Go to the documentation of this file.
1
3
4#pragma once
5
6#include <glm/glm.hpp>
7
13{
14 glm::vec3 prevPos{};
15 float radius = 0.6f;
16 glm::vec4 coreColor{1.f, 0.95f, 0.7f, 1.f};
17 glm::vec4 edgeColor{1.f, 0.40f, 0.05f, 0.f};
18};
Component attached to fast-bullet projectile entities.
Definition TracerEmitter.hpp:13
glm::vec3 prevPos
Position from previous frame (tail anchor).
Definition TracerEmitter.hpp:14
float radius
Cross-section half-width in world units.
Definition TracerEmitter.hpp:15
glm::vec4 coreColor
Bright yellow-white hot core.
Definition TracerEmitter.hpp:16
glm::vec4 edgeColor
Orange glow, alpha=0 at edge.
Definition TracerEmitter.hpp:17