rotate90Around Method

Rotate this vector 90 degrees around an axis vector.

rotate90Around(axis: Vector3d, result?: Vector3d): Vector3d | undefined

Parameter Type Description
axis Vector3d  
result Vector3d  

Returns - the (new or optionally reused result) rotated vector, or undefined if the axis vector cannot be normalized.

Defined in

Last Updated: 08 January, 2020