// $Header: /cvs/gled-1.2/GledCore/Glasses/ZGlMaterial.cxx,v 1.3 2005/03/11 17:50:15 matevz Exp $

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

//__________________________________________________________________________
// ZGlMaterial
//
//

#include "ZGlMaterial.h"

#include "ZGlMaterial.c7"

ClassImp(ZGlMaterial)

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

 void ZGlMaterial::_init()
{
  // !!!! Set all links to 0 !!!!
  mMatOp     = O_On;
  mFace      = GL_FRONT_AND_BACK;
  mShininess = 64;
  mAmbient.rgba(0.2,0.2,0.2);
  mDiffuse.rgba(0.8,0.8,0.8);
  mSpecular.rgba(0,0,0);
  mEmission.rgba(0,0,0);

  mModeOp    = O_Nop;
  mModeFace  = GL_FRONT_AND_BACK;
  mModeColor = GL_AMBIENT_AND_DIFFUSE;
}

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


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


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.