Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
MathUtils::createOrientFromDir Function
Syntax
C++
MatrixF createOrientFromDir(const Point3F & direction);

Creates orientation matrix from a direction vector. Assumes ( 0 0 1 ) is up. 

 

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