ROOT logo
// $Id: Lamp.cxx 2088 2008-11-23 20:26:46Z matevz $

// Copyright (C) 1999-2008, 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/.

#include "Lamp.h"
#include "Lamp.c7"

ClassImp(Lamp);

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

void Lamp::_init()
{
  mAmbient.rgba(0.05, 0.05, 0.05, 1.0);
  mDiffuse.rgba(1, 1, 1, 1);
  mSpecular.rgba(0.2, 0.2, 0.2, 1.0);
  mLampScale = 0;
  mSpotExp = 0; mSpotCutOff = 180;
  mConstAtt = 1; mLinAtt = mQuadAtt = 0;

  bDrawLamp = true; bOnIfOff = false; bOffIfOn = false;
}

/**************************************************************************/
 Lamp.cxx:1
 Lamp.cxx:2
 Lamp.cxx:3
 Lamp.cxx:4
 Lamp.cxx:5
 Lamp.cxx:6
 Lamp.cxx:7
 Lamp.cxx:8
 Lamp.cxx:9
 Lamp.cxx:10
 Lamp.cxx:11
 Lamp.cxx:12
 Lamp.cxx:13
 Lamp.cxx:14
 Lamp.cxx:15
 Lamp.cxx:16
 Lamp.cxx:17
 Lamp.cxx:18
 Lamp.cxx:19
 Lamp.cxx:20
 Lamp.cxx:21
 Lamp.cxx:22
 Lamp.cxx:23
 Lamp.cxx:24
 Lamp.cxx:25
 Lamp.cxx:26