diff options
Diffstat (limited to 'src/client/stardrawer.cc')
-rw-r--r-- | src/client/stardrawer.cc | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/client/stardrawer.cc b/src/client/stardrawer.cc deleted file mode 100644 index 534c1e6..0000000 --- a/src/client/stardrawer.cc +++ /dev/null @@ -1,30 +0,0 @@ -/* stardrawer.cc - This file is part of the Osirion project and is distributed under - the terms and conditions of the GNU General Public License version 2 -*/ - -// projet headers -#include "client/stardrawer.h" -#include "render/render.h" - -namespace client { - -using namespace render; - -StarDrawer::StarDrawer(game::Star *s) { - star = s; - sphere.radius = s->radius; - -} -StarDrawer::~StarDrawer() { - star = 0; -} - -void StarDrawer::draw(float elapsed) -{ - gl::color(star->color); - sphere.draw(); -} - -} // namespace client - |