Function rotationZ

  • Creates a Matrix that can rotate a tuple around the Z-axis

    Returns

    • A transformation matrix capable of rotating a tuple about the z-axis

    Parameters

    • angle: number

      This is the anglle (in radians) to rotate the tuple by

    • measuredIn: "rad" | "deg" = 'rad'

      can be either 'rad' or 'deg', defaults to 'rad'

    Returns Matrix

Generated using TypeDoc