/* 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