Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
RRayCast Struct Reference

#include <RayCast.h>

Inheritance diagram for RRayCast:
RayCastT< RVec3, RMat44, RRayCast >

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...
 

Constructor & Destructor Documentation

◆ RRayCast()

RRayCast::RRayCast ( const RayCast inRay)
inlineexplicit

Convert from RayCast, converts single to double precision.

Member Function Documentation

◆ operator RayCast()

RRayCast::operator RayCast ( ) const
inlineexplicit

Convert to RayCast, which implies casting from double precision to single precision.


The documentation for this struct was generated from the following file: