GetTransformedVector

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

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.

  • object : object to operate on
  • vector : vector
vec = getTransformedVector(object, vec3(x, y, z))
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox