Jolt Physics
A multi core friendly Game Physics Engine
|
Go to the source code of this file.
JPH_NAMESPACE_BEGIN JPH_INLINE Vec8 RayAABox8 | ( | Vec3Arg | inOrigin, |
const RayInvDirection & | inInvDirection, | ||
Vec8Arg | inBoundsMinX, | ||
Vec8Arg | inBoundsMinY, | ||
Vec8Arg | inBoundsMinZ, | ||
Vec8Arg | inBoundsMaxX, | ||
Vec8Arg | inBoundsMaxY, | ||
Vec8Arg | inBoundsMaxZ ) |
Intersect 8 AABBs with ray, returns minimal distance along ray or FLT_MAX if no hit Note: Can return negative value if ray starts in box