FrustumIntersection.testAab

Test whether the given axis-aligned box is partly or completely within or outside of the frustum defined by <code>this</code> frustum culler. The box is specified via its <code>min</code> and <code>max</code> corner coordinates. <p> The algorithm implemented by this method is conservative. This means that in certain circumstances a <i>false positive</i> can occur, when the method returns <code>true</code> for boxes that do not intersect the frustum. See <a href="http://iquilezles.org/www/articles/frustumcorrect/frustumcorrect.htm">iquilezles.org</a> for an examination of this problem.

@param min the minimum corner coordinates of the axis-aligned box @param max the maximum corner coordinates of the axis-aligned box @return <code>true</code> if the axis-aligned box is completely or partly inside of the frustum; <code>false</code> otherwise

  1. bool testAab(Vector3d min, Vector3d max)
    struct FrustumIntersection
    bool
    testAab
  2. bool testAab(float minX, float minY, float minZ, float maxX, float maxY, float maxZ)

Meta