Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/stardrawer.cc')
-rw-r--r--src/client/stardrawer.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/stardrawer.cc b/src/client/stardrawer.cc
index 6bdf34c..d5a0f9f 100644
--- a/src/client/stardrawer.cc
+++ b/src/client/stardrawer.cc
@@ -6,7 +6,9 @@
#include "gl/osiriongl.h"
#include "stardrawer.h"
-StarDrawer::StarDrawer(Star *s) {
+namespace client {
+
+StarDrawer::StarDrawer(game::Star *s) {
star = s;
sphere.radius = s->radius;
@@ -20,3 +22,5 @@ void StarDrawer::draw(float elapsed)
gl::color(star->color);
sphere.draw();
}
+
+} // namespace client