OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::ArrayRay Class Reference

#include <OgreArrayRay.h>

Public Member Functions

 ArrayRay ()
 
 ArrayRay (const ArrayVector3 &origin, const ArrayVector3 &direction)
 
ArrayMaskR intersects (const ArrayAabb &aabb) const
 SLAB method See https://tavianator.com/fast-branchless-raybounding-box-intersections-part-2-nans/.
 

Public Attributes

ArrayVector3 mDirection
 
ArrayVector3 mOrigin
 

Constructor & Destructor Documentation

◆ ArrayRay() [1/2]

Ogre::ArrayRay::ArrayRay ( )
inline

◆ ArrayRay() [2/2]

Ogre::ArrayRay::ArrayRay ( const ArrayVector3 origin,
const ArrayVector3 direction 
)
inline

Member Function Documentation

◆ intersects()

Member Data Documentation

◆ mDirection

ArrayVector3 Ogre::ArrayRay::mDirection

Referenced by intersects().

◆ mOrigin

ArrayVector3 Ogre::ArrayRay::mOrigin

Referenced by intersects().


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