|
group2 0.1.0
CSE 125 Group 2
|
World-space decal instance (bullet hole, scorch mark). More...
#include <ParticleTypes.hpp>
Public Attributes | |
| glm::vec3 | pos |
| World-space centre. | |
| float | size |
| Half-extent in world units (~4). | |
| glm::vec3 | right |
| World-space tangent (derived from hit normal). | |
| float | _p0 |
| glm::vec3 | up |
| World-space bitangent. | |
| float | opacity |
| Fades 1.0→0.0 over ~15 s. | |
| glm::vec2 | uvMin |
| Atlas UV min. | |
| glm::vec2 | uvMax |
| Atlas UV max. | |
World-space decal instance (bullet hole, scorch mark).
| float DecalInstance::_p0 |
| float DecalInstance::opacity |
Fades 1.0→0.0 over ~15 s.
| glm::vec3 DecalInstance::pos |
World-space centre.
| glm::vec3 DecalInstance::right |
World-space tangent (derived from hit normal).
| float DecalInstance::size |
Half-extent in world units (~4).
| glm::vec3 DecalInstance::up |
World-space bitangent.
| glm::vec2 DecalInstance::uvMax |
Atlas UV max.
| glm::vec2 DecalInstance::uvMin |
Atlas UV min.