mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
merged
This commit is contained in:
@@ -973,7 +973,7 @@ namespace opengl
|
|||||||
|
|
||||||
void Graphics::circle(DrawMode mode, float x, float y, float radius, int points )
|
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;
|
if(points <= 0) points = 1;
|
||||||
float angle_shift = (two_pi / points);
|
float angle_shift = (two_pi / points);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user