Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "frustum"

Index

Functions

Const frustum

  • frustum(out: Mat, left: number, right: number, bottom: number, top: number, near: number, far: number): Vec
  • Constructs a M44 representing the given view frustum.

    Parameters

    • out: Mat
    • left: number
    • right: number
    • bottom: number
    • top: number
    • near: number
    • far: number

    Returns Vec

Const frustumBounds

  • frustumBounds(fovy: number, aspect: number, near: number, far: number): object
  • Parameters

    • fovy: number
    • aspect: number
    • near: number
    • far: number

    Returns object

    • bottom: number
    • far: number
    • left: number
    • near: number
    • right: number
    • top: number

Generated using TypeDoc