|
group2 0.1.0
CSE 125 Group 2
|
Runtime capsule (world-space, per-entity, per-frame). More...
#include <Hitbox.hpp>
Public Attributes | |
| glm::vec3 | pointA {0.0f} |
| One endpoint of the capsule centerline. | |
| glm::vec3 | pointB {0.0f} |
| Other endpoint of the capsule centerline. | |
| float | radius = 0.0f |
| Capsule radius (world units). | |
| BodyRegion | region = BodyRegion::UpperTorso |
| For damage multiplier lookup. | |
Runtime capsule (world-space, per-entity, per-frame).
World-space capsule, recomputed each tick from animation pose + entity transform.
| glm::vec3 WorldCapsule::pointA {0.0f} |
One endpoint of the capsule centerline.
| glm::vec3 WorldCapsule::pointB {0.0f} |
Other endpoint of the capsule centerline.
| float WorldCapsule::radius = 0.0f |
Capsule radius (world units).
| BodyRegion WorldCapsule::region = BodyRegion::UpperTorso |
For damage multiplier lookup.