Function rotate3d

  • Rotate a 3d point around the given axis and angle

    Returns

    rotated vector

    Parameters

    • vector: Vector

      vector to rotate

    • axis: Vector = ...

      vector defining the rotation axis

    • angle: number = 0

      angle of rotation in radians

    • Optional target: Vector

      optional target

    Returns Vector

Generated using TypeDoc