|
RayBoxIntersection | kanzi::rayIntersectBox (const Ray &ray, const Box &box, const Matrix4x4 &boxOrientation) |
| Tests whether a ray intersects with a bounding box and returns the distance.
|
|
RayBoxIntersection | kanzi::rayIntersectBox (const Ray &ray, const Vector3 minCorner, const Vector3 maxCorner, const Matrix4x4 &boxOrientation) |
| Tests whether a ray intersects with a bounding box and returns the distance.
|
|
RayBoxIntersection | kanzi::rayIntersectBoxBackface (const Ray &ray, const Box &box, const Matrix4x4 &boxOrientation) |
| Tests whether a ray intersects with the back faces of a bounding box and returns the distance.
|
|
RayBoxIntersection | kanzi::rayIntersectBoxBackface (const Ray &ray, const Vector3 minCorner, const Vector3 maxCorner, const Matrix4x4 &boxOrientation) |
| Tests whether a ray intersects with the back faces of a bounding box and returns the distance.
|
|
optional< float > | kanzi::rayIntersectCylinder (const Ray &ray, const float cylinderRadius, const float cylinderHeight, const Vector3 cylinderAxis, const Matrix4x4 &cylinderTransform) |
| Tests whether a ray intersects with a cylinder aligned on the given unit-axis (within range [-height/2, height/2]).
|
|
optional< float > | kanzi::rayIntersectSphere (const Ray &ray, const Vector3 spherePosition, const float sphereRadius) |
| Tests whether a ray intersects with a sphere and returns the distance.
|
|