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