CrystalSpace

Public API Reference

csLinearAttenuation Struct Reference

Linear attenuation. More...

#include <csgfx/vertexlight.h>

List of all members.

Public Member Functions

 csLinearAttenuation (const csLightProperties &light)
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:
Generated for Crystal Space by doxygen 1.4.6