Frustum.contains

Sphere vs frustum intersection.

  1. bool contains(vec3!T point)
  2. int contains(Sphere!(T, 3) sphere)
    struct Frustum(T)
    @nogc pure const nothrow
    int
    contains
    (
    Sphere!(T, 3) sphere
    )
    if (
    isFloatingPoint!T
    )
  3. int contains(box3!T box)
  4. enum int LEFT;
  5. enum int RIGHT;
  6. enum int TOP;
  7. enum int BOTTOM;
  8. enum int NEAR;
  9. enum int FAR;

Return Value

Type: int

Frustum.OUTSIDE, Frustum.INTERSECT or Frustum.INSIDE.

Meta