Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
csLinearAttenuation Struct Reference
Linear attenuation. More...
#include <csgfx/vertexlight.h>
Public Member Functions | |
csLinearAttenuation (const csLightProperties &light) | |
CS_FORCEINLINE void | operator() (float distance, float &dp) const |
Public Attributes | |
float | invrad |
Detailed Description
Linear attenuation.Out = in * (1 - distance/radius)
Definition at line 136 of file vertexlight.h.
The documentation for this struct was generated from the following file:
- csgfx/vertexlight.h
Generated for Crystal Space by doxygen 1.4.4