diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-09 17:48:16 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-09 17:48:16 +0000 |
commit | 48aa068b036f565d6b94d4207242066ba655afe4 (patch) | |
tree | 4b68cf169c7fcd4bc6f2eecc7c072830d91830f8 /src/client/stardrawer.cc | |
parent | 23aee34002facf39b56d209320817375db3b6189 (diff) |
entities, step 1
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 - |