rotate90Around Method

Rotate this vector 90 degrees around an axis vector.

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

Parameter Type Description
axis Vector3d  
result Vector3d  

Returns - undefined | Vector3d

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

Defined in

Last Updated: 11 June, 2024