GetInverseVector

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
Returns the inverse vector according to the object current matrix :<br>mainly used to transform a global coordinate vector in the object's local coordinates
+
{{lua-function|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.
  
 
  vec = getInverseVector(object, vec3(x, y, z))
 
  vec = getInverseVector(object, vec3(x, y, z))

Revision as of 18:48, 8 February 2014

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.

vec = getInverseVector(object, vec3(x, y, z))
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox