Difference between revisions of "Matrix:rotate"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Matrix:rotate(angle,xVector,yVector,zVector)
 
Matrix:rotate(angle,xVector,yVector,zVector)
</source>
+
</syntaxhighlight>
 
It takes an x,y,z vector plus an angle, and rotates the Matrix around the given vector by the specified angle.
 
It takes an x,y,z vector plus an angle, and rotates the Matrix around the given vector by the specified angle.
  

Latest revision as of 15:30, 13 July 2023