From: Patrik Gornicz Date: Mon, 18 Aug 2008 22:37:40 +0000 (-0400) Subject: . X-Git-Tag: physics-premerge~155 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=commitdiff_plain;h=58ac440e4d0acc51d7adb3e94726982bf138489b;p=libbear.git . --- diff --git a/src/graphics/graphics.cpp b/src/graphics/graphics.cpp index 1130efb..d9e1dcc 100644 --- a/src/graphics/graphics.cpp +++ b/src/graphics/graphics.cpp @@ -47,11 +47,11 @@ void graphics::clean() /// ***** Public Methods ***** -void graphics::drawCircle(float radius, const Vector2& vec, const float* color) +void graphics::drawCircle(float radius, const Vector2& pos, const float* color) { glMatrixMode(GL_MODELVIEW); glLoadIdentity(); - glTranslatef(vec.x, vec.y, -1); + glTranslatef(pos.x, pos.y, -1); glScalef(radius, radius, radius); if(color != NULL)