Difference between revisions of "love.graphics.rotate"

(added rotate)
 
m (add links to pop & push)
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 +
* [[love.graphics.pop]]
 +
* [[love.graphics.push]]
 
* [[love.graphics.translate]]
 
* [[love.graphics.translate]]
 
* [[love.graphics.scale]]
 
* [[love.graphics.scale]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Rotates the coordinate system in two dimensions.}}
 
{{#set:Description=Rotates the coordinate system in two dimensions.}}

Revision as of 12:12, 26 February 2010

Rotates the coordinate system in two dimensions.

Calling this function affects all future drawing operations by rotating the coordinate system around the origin by the given amount of radians. This change lasts until love.draw() exits.

Function

Synopsis

love.graphics.rotate( angle )

Arguments

number angle
The amount to rotate the coordinate system in radians.

Returns

Nothing.

See Also