/* 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 */ #include "gl/osiriongl.h" #include "stardrawer.h" namespace client { 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