Function rotationY

  • Creates a 4-by-4 matrix which rotates around the y-axis by the given angle.

    Type Parameters

    Parameters

    • angleInRadians: number

      The angle by which to rotate (in radians).

    • Optional dst: T

      matrix to hold result. If not passed a new one is created.

    Returns T

    The rotation matrix.