GetTransformedVector

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

Revision as of 17:48, 8 February 2014

getTransformedVector(object, vector)

Returns the transformed vector according to the object's current matrix. Mainly used to transform a local coordinate vector in global coordinate.

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