Bill Meltsner 15 years ago
parent
commit
bb778497d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/opengl/Graphics.cpp

+ 1 - 1
src/modules/graphics/opengl/Graphics.cpp

@@ -973,7 +973,7 @@ namespace opengl
 
 	void Graphics::circle(DrawMode mode, float x, float y, float radius, int points )
 	{
-		float two_pi = 3.14159265f * 2;
+		float two_pi = LOVE_M_PI * 2;
 		if(points <= 0) points = 1;
 		float angle_shift = (two_pi / points);