Jolt Physics
A multi core friendly Game Physics Engine
|
Structure that holds a single ray cast. More...
#include <RayCast.h>
Public Member Functions | |
JPH_OVERRIDE_NEW_DELETE | RayCastT ()=default |
Constructors. | |
RayCastT (typename Vec::ArgType inOrigin, Vec3Arg inDirection) | |
RayCastT (const RayCastT< Vec, Mat, RayCastType > &)=default | |
RayCastType | Transformed (typename Mat::ArgType inTransform) const |
Transform this ray using inTransform. | |
RayCastType | Translated (typename Vec::ArgType inTranslation) const |
Translate ray using inTranslation. | |
Vec | GetPointOnRay (float inFraction) const |
Get point with fraction inFraction on ray (0 = start of ray, 1 = end of ray) | |
Public Attributes | |
Vec | mOrigin |
Origin of the ray. | |
Vec3 | mDirection |
Direction and length of the ray (anything beyond this length will not be reported as a hit) | |
Structure that holds a single ray cast.
|
default |
Constructors.
|
inline |
|
default |
|
inline |
Get point with fraction inFraction on ray (0 = start of ray, 1 = end of ray)
|
inline |
Transform this ray using inTransform.
|
inline |
Translate ray using inTranslation.
Vec3 RayCastT< Vec, Mat, RayCastType >::mDirection |
Direction and length of the ray (anything beyond this length will not be reported as a hit)
Vec RayCastT< Vec, Mat, RayCastType >::mOrigin |
Origin of the ray.