Changeset 5652 in orxonox.OLD for trunk/src/lib/graphics/light.cc
- Timestamp:
- Nov 20, 2005, 6:32:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/light.cc
r5357 r5652 88 88 static_cast<PNode*>(this)->loadParams(root); 89 89 90 LoadParam <Light>(root, "diffuse-color", this, &Light::setDiffuseColor)90 LoadParamNEW(root, "diffuse-color", this, Light, setDiffuseColor) 91 91 .describe("sets the diffuse color of the Light (red [0-1], green [0-1], blue [0-1])"); 92 92 93 LoadParam <Light>(root, "specular-color", this, &Light::setSpecularColor)93 LoadParamNEW(root, "specular-color", this, Light, setSpecularColor) 94 94 .describe("sets the specular color of the Light (red [0-1], green [0-1], blue [0-1])"); 95 95 96 LoadParam <Light>(root, "attenuation", this, &Light::setAttenuation)96 LoadParamNEW(root, "attenuation", this, Light, setAttenuation) 97 97 .describe("sets the Attenuation of the LightSource (constant Factor, linear Factor, quadratic Factor)."); 98 98 99 LoadParam <Light>(root, "spot-direction", this, &Light::setSpotDirection)99 LoadParamNEW(root, "spot-direction", this, Light, setSpotDirection) 100 100 .describe("sets the Direction of the Spot"); 101 101 102 LoadParam <Light>(root, "spot-cutoff", this, &Light::setSpotCutoff)102 LoadParamNEW(root, "spot-cutoff", this, Light, setSpotCutoff) 103 103 .describe("the cuttoff of the Spotlight"); 104 104 }
Note: See TracChangeset
for help on using the changeset viewer.