|
group2 0.1.0
CSE 125 Group 2
|
Oriented capsule streak for fast-bullet tracers (R301 style). More...
#include <ParticleTypes.hpp>
Public Attributes | |
| glm::vec3 | tip |
| World-space front of streak (current bullet pos). | |
| float | radius |
| Cross-section half-width (~0.6 units). | |
| glm::vec3 | tail |
| World-space back (tip - normalize(vel) * streakLen). | |
| float | brightness |
| 1.0→0.0 fade at end of life. | |
| glm::vec4 | coreColor |
| Bright yellow-white. | |
| glm::vec4 | edgeColor |
| Orange, alpha=0 at edge. | |
| float | lifetime |
| float | _pad [3] |
Oriented capsule streak for fast-bullet tracers (R301 style).
| float TracerParticle::_pad[3] |
| float TracerParticle::brightness |
1.0→0.0 fade at end of life.
| glm::vec4 TracerParticle::coreColor |
Bright yellow-white.
| glm::vec4 TracerParticle::edgeColor |
Orange, alpha=0 at edge.
| float TracerParticle::lifetime |
| float TracerParticle::radius |
Cross-section half-width (~0.6 units).
| glm::vec3 TracerParticle::tail |
World-space back (tip - normalize(vel) * streakLen).
| glm::vec3 TracerParticle::tip |
World-space front of streak (current bullet pos).