createPerpendicularVectorFavorPlaneContainingZ MethodStatic

return a vector that is perpendicular to the input direction.

  • Among the infinite number of perpendiculars possible, this method favors having one near the Z. That is achieved by crossing "this" vector with the result of createHeadsUpPerpendicularFavorXYPlane.

createPerpendicularVectorFavorPlaneContainingZ(vector: Vector3d, result?: Vector3d): Vector3d

Parameter Type Description
vector Vector3d  
result Vector3d  

Returns - Vector3d

Defined in

Last Updated: 12 June, 2024