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. | |
operator RayCast () const | |
Convert to RayCast, which implies casting from double precision to single precision. | |
Public Member Functions inherited from RayCastT< RVec3, RMat44, RRayCast > | |
JPH_OVERRIDE_NEW_DELETE | RayCastT ()=default |
Constructors. | |
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. | |
RRayCast | Translated (typename Vec::ArgType inTranslation) const |
Translate ray using inTranslation. | |
RVec3 | GetPointOnRay (float inFraction) const |
Get point with fraction inFraction on ray (0 = start of ray, 1 = end of ray) | |
Additional Inherited Members | |
Public Attributes inherited from RayCastT< RVec3, RMat44, RRayCast > | |
RVec3 | mOrigin |
Origin of the ray. | |
Vec3 | mDirection |
Direction and length of the ray (anything beyond this length will not be reported as a hit) | |
|
inlineexplicit |
Convert from RayCast, converts single to double precision.
|
inlineexplicit |
Convert to RayCast, which implies casting from double precision to single precision.