Jolt Physics
A multi core friendly Game Physics Engine
|
Helper structure holding the reciprocal of a ray for Ray vs AABox testing. More...
#include <RayAABox.h>
Public Member Functions | |
RayInvDirection ()=default | |
Constructors. | |
RayInvDirection (Vec3Arg inDirection) | |
void | Set (Vec3Arg inDirection) |
Set reciprocal from ray direction. | |
Public Attributes | |
Vec3 | mInvDirection |
1 / ray direction | |
UVec4 | mIsParallel |
for each component if it is parallel to the coordinate axis | |
Helper structure holding the reciprocal of a ray for Ray vs AABox testing.
|
inlinedefault |
Constructors.
|
inlineexplicit |
Vec3 RayInvDirection::mInvDirection |
1 / ray direction
UVec4 RayInvDirection::mIsParallel |
for each component if it is parallel to the coordinate axis