![]() |
OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
|
#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 |
|
inline |
|
inline |
|
inline |
SLAB method See https://tavianator.com/fast-branchless-raybounding-box-intersections-part-2-nans/.
References ARRAY_REAL_ZERO, Ogre::MathlibC::CompareGreaterEqual(), Ogre::ArrayAabb::getMaximum(), Ogre::ArrayAabb::getMinimum(), Ogre::MathlibC::Max(), mDirection, Ogre::MathlibC::Min(), mOrigin, and Ogre::MathlibC::SetAll().
| ArrayVector3 Ogre::ArrayRay::mDirection |
Referenced by intersects().
| ArrayVector3 Ogre::ArrayRay::mOrigin |
Referenced by intersects().