GetRotatedVector

(Difference between revisions)
Jump to: navigation, search
Anael (Talk | contribs)
(Created page with "Returns the rotated vector according to the object current matrix : vec = getRotatedVector(object, vec3(x, y, z)) Example : vec = getRotatedVector(object, vec3(1, 0, 0)) ...")
Newer edit →

Revision as of 16:43, 5 February 2013

Returns the rotated vector according to the object current matrix :

vec = getRotatedVector(object, vec3(x, y, z))

Example :

vec = getRotatedVector(object, vec3(1, 0, 0)) -- returns the rotated x axis of the object
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox