GetInverseVector
From MaratisWiki
Revision as of 00:21, 9 February 2014 by Dahnielson (Talk | contribs)
getInverseVector(object, vector)
Returns the inverse vector according to the object current matrix. Mainly used to transform a global coordinate vector in the object's local coordinates.
-
object
: object to operate on -
vector
: vector
vec = getInverseVector(object, vec3(x, y, z))