// $Header: /cvs/gled-1.2/GledCore/Glasses/Scene.cxx,v 1.2 2004/06/03 12:29:00 matevz Exp $

// Copyright (C) 1999-2004, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.

//__________________________________________________________________________
// Scene
//
//

#include "Scene.h"
#include <Glasses/ZQueen.h>

ClassImp(Scene)

/**************************************************************************/

 void Scene::_init()
{
  mGlobLamps = 0;
}

/**************************************************************************/

 void Scene::AdEnlightenment()
{
  ZNode::AdEnlightenment();
  if(mGlobLamps == 0) {
    GlobalLamps* l = new GlobalLamps("Global Lamps", GForm("Lamps of %s", GetName()));
    mQueen->CheckIn(l);
    SetGlobLamps(l);
  }
}

/**************************************************************************/

#include "Scene.c7"


ROOT page - Home page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.