#include <esg/Definitions.h>#include <esg/ESGObject.h>#include <esg/Export>Go to the source code of this file.
Namespaces | |
| namespace | esg |
Classes | |
| class | Emittance |
Defines | |
| #define | ESG_ATTENUATION(__d, __c) |
|
|
Value: { \
if (_attenuate && (__d > _fadeDistance)) \
(__c).scale(2.0 / (1.0 + pow(((_fadeDistance > 0.) ? (__d) / _fadeDistance : (__d)), _fadePower))); }
Definition at line 122 of file Emittance.h. Referenced by PointEmittance::intensity(), SpotEmittance::intensity(), and DirEmittance::intensity(). |
1.4.6