|
group2 0.1.0
CSE 125 Group 2
|
Result of a swept AABB collision query. More...
#include <SweptCollision.hpp>
Public Attributes | |
| bool | hit {false} |
| True if the sweep intersected a plane. | |
| float | tFirst {1.0f} |
| Fraction along the movement path [0..1] where the first hit occurs. | |
| glm::vec3 | normal {0.0f, 1.0f, 0.0f} |
| Surface normal at the contact point. | |
Result of a swept AABB collision query.
| bool physics::HitResult::hit {false} |
True if the sweep intersected a plane.
| glm::vec3 physics::HitResult::normal {0.0f, 1.0f, 0.0f} |
Surface normal at the contact point.
| float physics::HitResult::tFirst {1.0f} |
Fraction along the movement path [0..1] where the first hit occurs.