Public API Reference

csLinearAttenuation Struct Reference

Linear attenuation. More...

#include <csgfx/vertexlight.h>

List of all members.

Public Member Functions

 csLinearAttenuation (const csLightProperties &light)
operator() (float distance, float &dp) const

Public Attributes

float invrad

Detailed Description

Linear attenuation.

Out = in * (1 - distance/radius)

Definition at line 147 of file vertexlight.h.

The documentation for this struct was generated from the following file:
Generated for Crystal Space 1.2.1 by doxygen 1.5.3