CrystalSpace

Public API Reference

csCLQAttenuation Struct Reference

Constant, Linear, Quadratic attenuation Out = in /(const + distance*lin + distance^2*quad). More...

#include <csgfx/vertexlight.h>

List of all members.

Public Member Functions

 csCLQAttenuation (const csLightProperties &light)
CS_FORCEINLINE_TEMPLATEMETHOD
void 
operator() (float distance, float &dp) const

Public Attributes

csVector3 attnVec


Detailed Description

Constant, Linear, Quadratic attenuation Out = in /(const + distance*lin + distance^2*quad).

Definition at line 200 of file vertexlight.h.


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