Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
MathUtils::getMatrixFromUpVector Function
Syntax
C++
void getMatrixFromUpVector(const VectorF & up, MatrixF * outMat);

Creates an orthonormal basis matrix with the unit length input vector in column 2 (up vector). 

@param up The non-zero unit length up vector. @param outMat The output matrix which must be initialized prior to the call. 

 

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!