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)

Return Value

Type: int

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

Meta