Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Mat2

Index

Functions

rotation

  • rotation(angle: number): Matrix
  • create rotation matrix

    Parameters

    • angle: number

      angle in radians

    Returns Matrix

scaling

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

    Parameters

    • sx: number

      X-scale factor

    • sy: number

      Y-scale factor

    Returns Matrix

Generated using TypeDoc