added love.graphics.arc

--HG--
branch : minor
This commit is contained in:
Bill Meltsner
2011-03-17 20:50:27 -04:00
parent dbe2698dc2
commit 33a2110b00
4 changed files with 64 additions and 2 deletions
+2 -1
View File
@@ -28,7 +28,6 @@
// SDL
#include <SDL.h>
#include "GLee.h"
#include <SDL_opengl.h>
// LOVE
#include <graphics/Graphics.h>
@@ -483,6 +482,8 @@ namespace opengl
* @param points Amount of points to use to draw the circle.
**/
void circle(DrawMode mode, float x, float y, float radius, int points = 10);
void arc(DrawMode mode, float x, float y, float radius, float angle1, float angle2, int points = 10);
/**
* Draws a polygon with an arbitrary number of vertices.