createRigidFromColumns MethodStatic

create a new orthogonal matrix (perpendicular columns, unit length, transpose is inverse). vectorA is placed in the first column of the axis order. vectorB is projected perpendicular to vectorA within their plane and placed in the second column.

createRigidFromColumns(vectorA: Vector3d, vectorB: Vector3d, axisOrder: AxisOrder, result?: Matrix3d): undefined | Matrix3d

Parameter Type Description
vectorA Vector3d  
vectorB Vector3d  
axisOrder AxisOrder  
result Matrix3d  

Returns - undefined | Matrix3d

Defined in

Last Updated: 12 June, 2024