![]()  | 
  
    Jolt Physics
    
   A multi core friendly Game Physics Engine 
   | 
 
Structure that holds a single ray cast. More...
#include <RayCast.h>
Public Member Functions | |
| JPH_OVERRIDE_NEW_DELETE | RayCastT ()=default | 
| Constructors.  More... | |
| RayCastT (typename Vec::ArgType inOrigin, Vec3Arg inDirection) | |
| RayCastT (const RayCastT< Vec, Mat, RayCastType > &)=default | |
| RayCastType | Transformed (typename Mat::ArgType inTransform) const | 
| Transform this ray using inTransform.  More... | |
| RayCastType | Translated (typename Vec::ArgType inTranslation) const | 
| Translate ray using inTranslation.  More... | |
| Vec | GetPointOnRay (float inFraction) const | 
| Get point with fraction inFraction on ray (0 = start of ray, 1 = end of ray)  More... | |
Public Attributes | |
| Vec | 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... | |
Structure that holds a single ray cast.
      
  | 
  default | 
Constructors.
      
  | 
  inline | 
      
  | 
  default | 
      
  | 
  inline | 
Get point with fraction inFraction on ray (0 = start of ray, 1 = end of ray)
      
  | 
  inline | 
Transform this ray using inTransform.
      
  | 
  inline | 
Translate ray using inTranslation.
| Vec3 RayCastT< Vec, Mat, RayCastType >::mDirection | 
Direction and length of the ray (anything beyond this length will not be reported as a hit)
| Vec RayCastT< Vec, Mat, RayCastType >::mOrigin | 
Origin of the ray.