GetInverseVector

From MaratisWiki
Revision as of 00:21, 9 February 2014 by Dahnielson (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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))
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox