morient
expression function
Computes the transformation matrix to orient along specific Z and Y axes.
Usage
morient(zaxis, yaxis)
Computes the transform matrix to rotate the x,y,z axes such that the specified zaxis is the new zaxis and yaxis the new yaxis. The resulting matrix is a 3×3 matrix.