FrustumIntersection.distanceToPlane

Compute the signed distance from the given axis-aligned box to the <code>plane</code>.

@param minX the x-coordinate of the minimum corner @param minY the y-coordinate of the minimum corner @param minZ the z-coordinate of the minimum corner @param maxX the x-coordinate of the maximum corner @param maxY the y-coordinate of the maximum corner @param maxZ the z-coordinate of the maximum corner @param plane one of {@link #PLANE_NX}, {@link #PLANE_PX}, {@link #PLANE_NY}, {@link #PLANE_PY}, {@link #PLANE_NZ} and {@link #PLANE_PZ} @return the signed distance of the axis-aligned box to the plane

struct FrustumIntersection
float
distanceToPlane
(
float minX
,
float minY
,
float minZ
,
float maxX
,
float maxY
,
float maxZ
,
int plane
)

Meta