v2.0.2
Public Attributes | List of all members
CC3AttenuationCoefficients Struct Reference

#include <CC3Foundation.h>

Public Attributes

GLfloat a
 
GLfloat b
 
GLfloat c
 

Detailed Description

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.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: