Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
RayAABox8.h File Reference

Go to the source code of this file.

Functions

JPH_NAMESPACE_BEGIN JPH_INLINE Vec8 RayAABox8 (Vec3Arg inOrigin, const RayInvDirection &inInvDirection, Vec8Arg inBoundsMinX, Vec8Arg inBoundsMinY, Vec8Arg inBoundsMinZ, Vec8Arg inBoundsMaxX, Vec8Arg inBoundsMaxY, Vec8Arg inBoundsMaxZ)
 

Function Documentation

◆ RayAABox8()

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