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

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: