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 - Vector3d | undefined

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

Defined in

Last Updated: 13 June, 2024