|
group2 0.1.0
CSE 125 Group 2
|
Result of a sphere-cast query (includes world-space hit point). More...
#include <SweptCollision.hpp>
Public Attributes | |
| bool | hit {false} |
| float | t {1.0f} |
| Fraction along path [0..1]. | |
| glm::vec3 | normal {0.0f, 1.0f, 0.0f} |
| Surface normal at contact. | |
| glm::vec3 | point {0.0f} |
| World-space contact point on the surface. | |
| SurfaceType | surfaceType {SurfaceType::Concrete} |
| Material at the hit surface (Phase 3). | |
Result of a sphere-cast query (includes world-space hit point).
| bool physics::SphereHitResult::hit {false} |
| glm::vec3 physics::SphereHitResult::normal {0.0f, 1.0f, 0.0f} |
Surface normal at contact.
| glm::vec3 physics::SphereHitResult::point {0.0f} |
World-space contact point on the surface.
| SurfaceType physics::SphereHitResult::surfaceType {SurfaceType::Concrete} |
Material at the hit surface (Phase 3).
| float physics::SphereHitResult::t {1.0f} |
Fraction along path [0..1].