Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Mat4

Index

Functions

identity

lookAt

rotX

rotY

rotZ

scaling

  • scaling(sx: number, sy: number, sz: number): Matrix
  • create scaling matrix

    Parameters

    • sx: number

      X-scale factor

    • sy: number

      Y-scale factor

    • sz: number

      Z-scale factor

    Returns Matrix

translation

  • translation(x: number, y: number, z: number): Matrix
  • create translation matrix

    Parameters

    • x: number

      translation in X direction

    • y: number

      translation in Y direction

    • z: number

      translation in Z direction

    Returns Matrix

Generated using TypeDoc