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

#include <RayCast.h>

Inheritance diagram for RayCast:
RayCastT< Vec3, Mat44, RayCast >

Additional Inherited Members

- Public Member Functions inherited from RayCastT< Vec3, Mat44, RayCast >
JPH_OVERRIDE_NEW_DELETE RayCastT ()=default
 Constructors.
 
 RayCastT (typename Vec::ArgType inOrigin, Vec3Arg inDirection)
 
 RayCastT (const RayCastT< Vec3, Mat44, RayCast > &)=default
 
RayCast Transformed (typename Mat::ArgType inTransform) const
 Transform this ray using inTransform.
 
RayCast Translated (typename Vec::ArgType inTranslation) const
 Translate ray using inTranslation.
 
Vec3 GetPointOnRay (float inFraction) const
 Get point with fraction inFraction on ray (0 = start of ray, 1 = end of ray)
 
- Public Attributes inherited from RayCastT< Vec3, Mat44, RayCast >
Vec3 mOrigin
 Origin of the ray.
 
Vec3 mDirection
 Direction and length of the ray (anything beyond this length will not be reported as a hit)
 

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