GetInverseVector
From MaratisWiki
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))