Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "viewport"

Index

Functions

Functions

Const viewport

  • viewport(out: Mat | null, left: number, right: number, bottom: number, top: number): Vec
  • Produces a 2x3 viewport matrix to transform projected coordinates to screen space.

    Parameters

    • out: Mat | null

      -

    • left: number

      -

    • right: number

      -

    • bottom: number

      -

    • top: number

      -

    Returns Vec

Generated using TypeDoc