Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3440 in orxonox.OLD for orxonox/trunk/src/light.h


Ignore:
Timestamp:
Mar 1, 2005, 8:55:53 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Light: added ambientColor, removed fancy effects :)

File:
1 edited

Legend:

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

    r3437 r3440  
    3434    GLfloat diffuseColor[4];    //!< The Diffuse Color this Light emmits.
    3535    GLfloat specularColor[4];   //!< The specular Color of this Light.
     36    GLint attenuationType;      //!< The AttenuationType of this Light. \todo implements this;
    3637
    3738    LightValue* next;
     
    3940
    4041  static Light* singletonRef;    //!< This is the LightHandlers Reference.
     42  GLfloat ambientColor[4];       //!< The ambient Color of the scene.
     43
     44
    4145  Light(void);
    4246
     
    6064  void setDiffuseColor(GLfloat r, GLfloat g, GLfloat b);
    6165  void setSpecularColor(GLfloat r, GLfloat g, GLfloat b);
     66  void setAmbientColor(GLfloat r, GLfloat g, GLfloat b);
    6267  // get Attributes
    6368  Vector getPosition(void);
Note: See TracChangeset for help on using the changeset viewer.