Changeset 3453 in orxonox.OLD for orxonox/trunk/src/light.h
- Timestamp:
- Mar 3, 2005, 5:56:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/light.h
r3446 r3453 43 43 GLfloat specularColor[4]; //!< The specular Color of this Light. 44 44 AttenuationType attenuationType;//!< The AttenuationType of this Light. 45 float attenuationFactor; //!< the Factor the attenuation should have. 45 float attenuationFactor; //!< The Factor the attenuation should have. 46 GLfloat spotDirection[4]; //!< The direction of the Spot Light. 47 GLfloat spotCutoff; //!< The cutoff Angle of the Light Source 46 48 }; 47 49 … … 73 75 void setAttenuation(AttenuationType type, float factor); 74 76 void setAmbientColor(GLfloat r, GLfloat g, GLfloat b); 77 void setSpotDirection(Vector direction); 78 void setSpotCutoff(GLfloat cutoff); 79 75 80 // get Attributes 76 81 Vector getPosition(void);
Note: See TracChangeset
for help on using the changeset viewer.