GetInverseVector

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