/* $Id$
-This file is part of the MSP Märklin suite
+This file is part of R²C²
Copyright © 2010 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
using namespace std;
using namespace Msp;
-namespace Marklin {
+namespace R2C2 {
Overlay3D::Overlay3D(const Graphics::Window &w, const GL::Camera &c, const GL::Font &f):
window(w),
for(map<const Object3D *, Icon *>::const_iterator i=icons.begin(); i!=icons.end(); ++i)
{
+ if(!i->first->is_visible())
+ continue;
+
const Icon &icon = *i->second;
Point node = i->first->get_node();
background((GL::COLOR4_UBYTE, GL::VERTEX2))
{ }
-} // namespace Marklin
+} // namespace R2C2