diff --git a/src/debugsphere.cpp b/src/debugsphere.cpp index 28081163..9bb22420 100644 --- a/src/debugsphere.cpp +++ b/src/debugsphere.cpp @@ -7,10 +7,8 @@ # include "config.h" #endif -#include -#include - #ifdef WIN32 +# define _USE_MATH_DEFINES /* for M_PI */ # define WIN32_LEAN_AND_MEAN # include #endif @@ -21,6 +19,9 @@ # include #endif +#include +#include + #include "core.h" #include "debugsphere.h" @@ -128,9 +129,9 @@ void DebugSphere::TickDraw(float deltams) glPushAttrib(GL_COLOR_BUFFER_BIT | GL_CURRENT_BIT); glBindTexture(GL_TEXTURE_2D, NULL); - glColor4f(1.0f, b, a, 0.2f); + glColor4f(1.0f, b, a, 0.1f); glTranslatef(320.0f, 240.0f, 32.0f); - for (float t = 0.01f; t < 1.0f; t *= 1.3f) + for (float t = 0.01f; t < 1.0f; t *= 1.1f) data->DrawSphere(2, t * (60.0f + 40.0f * a)); glTranslatef(-320.0f, -240.0f, -32.0f); glPopAttrib();