Added documentation for attenuation.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1042 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2007-11-09 15:37:46 +00:00
parent d55dc0f63c
commit 3de449dc1c
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ struct SLight
/** For details how to use specular highlights, see SMaterial::Shininess */ /** For details how to use specular highlights, see SMaterial::Shininess */
SColorf SpecularColor; SColorf SpecularColor;
//! Attenuation factors //! Attenuation factors (constant, linear, quadratic)
/** Changes the light strength fading over distance */
core::vector3df Attenuation; core::vector3df Attenuation;
//! Radius of light. Everything within this radius be be lighted. //! Radius of light. Everything within this radius be be lighted.