GetInverseRotatedVector
From MaratisWiki
Revision as of 00:20, 9 February 2014 by Dahnielson (Talk | contribs)
getInverseRotatedVector(object, vector)
Returns the inverse rotated vector according to the object current matrix.
-
object
: object to operate on -
vector
: vector
vec = getInverseRotatedVector(object, vec3(x, y, z))