#include <CC3Foundation.h>
Public Attributes | |
GLfloat | a |
GLfloat | b |
GLfloat | c |
The constant, linear, and quadratic coefficients of the attenuation function equation: (a + b*r + c*r*r), where r is the radial distance between a the source (light or camera) and the 3D location at which we want to calculate attenuation.
GLfloat CC3AttenuationCoefficients::a |
The constant coefficient in the attenuation function.
GLfloat CC3AttenuationCoefficients::b |
The linear coefficient in the attenuation function.
GLfloat CC3AttenuationCoefficients::c |
The quadratic coefficient in the attenuation function.