Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2853 in orxonox.OLD for orxonox/trunk/src/material.h


Ignore:
Timestamp:
Nov 14, 2004, 6:41:02 AM (21 years ago)
Author:
bensch
Message:

orxonox/trunk/src: merged importer to trunk again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/material.h

    r2835 r2853  
     1/*!
     2  \file material.h
     3  \brief Contains the Material Class that handles Material for 3D-Objects.
     4*/
     5
    16#ifndef _MATERIAL_H
    27#define _MATERIAL_H
    38
    4 extern int verbose;
     9extern int verbose; //!< will be obsolete soon.
    510
    611#include <GL/gl.h>
     
    914#include <fstream>
    1015
     16//! Class to handle Materials.
    1117class Material
    1218{
     
    3036  void setSpecular (float r, float g, float b);
    3137  void setSpecular (char* rgb);
     38  void setShininess (float shini);
     39  void setShininess (char* shini);
    3240  void setTransparency (float trans);
    3341  void setTransparency (char* trans);
     
    3745  bool select (void);
    3846
    39   Material* nextMat;
     47  Material* nextMat; //!< pointer to the Next Material of the List. NULL if no next exists.
    4048
    4149 private:
     
    4553  float ambient [4];
    4654  float specular [4];
     55  float shininess;
    4756  float transparency;
    4857
Note: See TracChangeset for help on using the changeset viewer.