Public Attributes

CC3AttenuationCoefficients Struct Reference

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>

List of all members.

Public Attributes

GLfloat a
GLfloat b
GLfloat c

Detailed Description

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.


Member Data Documentation

The a coefficient in the attenuation function.

The b coefficient in the attenuation function.

The c coefficient in the attenuation function.


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