Jolt Physics
A multi core friendly Game Physics Engine
|
#include <RayCast.h>
Public Member Functions | |
RRayCast (const RayCast &inRay) | |
Convert from RayCast, converts single to double precision. More... | |
operator RayCast () const | |
Convert to RayCast, which implies casting from double precision to single precision. More... | |
Public Member Functions inherited from RayCastT< RVec3, RMat44, RRayCast > | |
JPH_OVERRIDE_NEW_DELETE | RayCastT ()=default |
Constructors. More... | |
RayCastT (typename Vec::ArgType inOrigin, Vec3Arg inDirection) | |
RayCastT (const RayCastT< RVec3, RMat44, RRayCast > &)=default | |
RRayCast | Transformed (typename Mat::ArgType inTransform) const |
Transform this ray using inTransform. More... | |
RRayCast | Translated (typename Vec::ArgType inTranslation) const |
Translate ray using inTranslation. More... | |
RVec3 | GetPointOnRay (float inFraction) const |
Get point with fraction inFraction on ray (0 = start of ray, 1 = end of ray) More... | |
Additional Inherited Members | |
Public Attributes inherited from RayCastT< RVec3, RMat44, RRayCast > | |
RVec3 | mOrigin |
Origin of the ray. More... | |
Vec3 | mDirection |
Direction and length of the ray (anything beyond this length will not be reported as a hit) More... | |
|
inlineexplicit |
Convert from RayCast, converts single to double precision.
|
inlineexplicit |
Convert to RayCast, which implies casting from double precision to single precision.