The coefficients of the equation for an attenuation function: (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. More...
#include <CC3Foundation.h>
Public Attributes | |
GLfloat | a |
GLfloat | b |
GLfloat | c |
The coefficients of the equation for an attenuation function: (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 a coefficient in the attenuation function.
GLfloat CC3AttenuationCoefficients::b |
The b coefficient in the attenuation function.
GLfloat CC3AttenuationCoefficients::c |
The c coefficient in the attenuation function.