Matrix:rotate

From GiderosMobile
Revision as of 11:16, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2016.06

Description

Combine existing rotation with provided. It takes a x,y,z vector and an angle, and rotate the matrix around the given vector by the specified angle

 Matrix:rotate(angle,x vector,y vector,z vector)

'angle: (number) angle of rotation in radians '
'x vector: (number) x axis vector '
'y vector: (number) y axis vector '
'z vector: (number) z axis vector '