|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Result of a raycast hit. More...
#include <GREM/core/geometry.hpp>
Public Attributes | |
| vec< N, T > | localOffset |
| Offset from the object's center of mass in shape-local space at which the hit occured. | |
| T | distance |
| Distance from the ray origin, along the ray direction, at which the hit occured. | |
| vec< N, T > | normal |
| Unit normal vector of the surface that was hit. | |
Result of a raycast hit.
| N | number of vector dimensions. |
| T | scalar coordinate component type. |
| vec<N, T> grem::RayHit< N, T >::localOffset |
Offset from the object's center of mass in shape-local space at which the hit occured.
| T grem::RayHit< N, T >::distance |
Distance from the ray origin, along the ray direction, at which the hit occured.
| vec<N, T> grem::RayHit< N, T >::normal |
Unit normal vector of the surface that was hit.