Difference between revisions of "Matrix:rotate"

From GiderosMobile
Line 7: Line 7:
 
It takes a x,y,z vector and an angle, and rotate the matrix around the given vector by the specified angle</translate>
 
It takes a x,y,z vector and an angle, and rotate the matrix around the given vector by the specified angle</translate>
 
<source lang="lua">
 
<source lang="lua">
  Matrix:rotate(angle,x vector,y vector,z vector)
+
  Matrix:rotate(angle,xVector,yVector,zVector)
 
</source>
 
</source>
 +
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''angle''': (number) <translate>angle of rotation in radians</translate> <br/>
 
'''angle''': (number) <translate>angle of rotation in radians</translate> <br/>

Revision as of 05:38, 31 December 2020