Emittance.h File Reference

#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)


Define Documentation

#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().


Generated on Wed Jun 28 12:24:32 2006 for esg by  doxygen 1.4.6