Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
RayInvDirection Class Reference

Helper structure holding the reciprocal of a ray for Ray vs AABox testing. More...

#include <RayAABox.h>

Public Member Functions

 RayInvDirection ()=default
 Constructors. More...
 
 RayInvDirection (Vec3Arg inDirection)
 
void Set (Vec3Arg inDirection)
 Set reciprocal from ray direction. More...
 

Public Attributes

Vec3 mInvDirection
 1 / ray direction More...
 
UVec4 mIsParallel
 for each component if it is parallel to the coordinate axis More...
 

Detailed Description

Helper structure holding the reciprocal of a ray for Ray vs AABox testing.

Constructor & Destructor Documentation

◆ RayInvDirection() [1/2]

RayInvDirection::RayInvDirection ( )
inlinedefault

Constructors.

◆ RayInvDirection() [2/2]

RayInvDirection::RayInvDirection ( Vec3Arg  inDirection)
inlineexplicit

Member Function Documentation

◆ Set()

void RayInvDirection::Set ( Vec3Arg  inDirection)
inline

Set reciprocal from ray direction.

Member Data Documentation

◆ mInvDirection

Vec3 RayInvDirection::mInvDirection

1 / ray direction

◆ mIsParallel

UVec4 RayInvDirection::mIsParallel

for each component if it is parallel to the coordinate axis


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