projects
/
libbear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8aa2e4
)
.
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Mon, 18 Aug 2008 22:37:40 +0000
(18:37 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Mon, 18 Aug 2008 22:37:40 +0000
(18:37 -0400)
src/graphics/graphics.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/graphics/graphics.cpp
b/src/graphics/graphics.cpp
index
1130efb
..
d9e1dcc
100644
(file)
--- 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)