#include <K3dLight.h>
Inheritance diagram for K3dLight:
Public Member Functions | |
K3dLight () | |
~K3dLight () | |
void | InitLight () |
void | Reset () |
void | Destroy () |
void | DrawLight () |
Public Attributes | |
float | m_afPosition [4] |
float | m_afDirection [3] |
Private Attributes | |
float | m_afAmbient [4] |
float | m_afDiffuse [4] |
float | m_afSpecular [4] |
float | m_fShininess |
float | m_afEmission [4] |
float | m_fLinearAttenuation |
int | m_iSpotExponent |
int | m_iSpotCutoff |
Definition at line 40 of file K3dLight.h.
K3dLight::K3dLight | ( | ) |
K3dLight::~K3dLight | ( | ) |
void K3dLight::InitLight | ( | ) |
Definition at line 47 of file K3dLight.cpp.
References m_afAmbient, m_afDiffuse, m_afDirection, m_afEmission, m_afPosition, m_afSpecular, m_fLinearAttenuation, m_fShininess, m_iSpotCutoff, and m_iSpotExponent.
Referenced by K3dMngGeometry::InitMngGeometry().
void K3dLight::Reset | ( | ) |
Definition at line 80 of file K3dLight.cpp.
References m_afAmbient, m_afDiffuse, m_afDirection, m_afEmission, m_afPosition, m_afSpecular, m_fLinearAttenuation, m_fShininess, m_iSpotCutoff, and m_iSpotExponent.
Referenced by Destroy(), and K3dLight().
void K3dLight::Destroy | ( | ) |
void K3dLight::DrawLight | ( | ) |
Definition at line 106 of file K3dLight.cpp.
References m_afAmbient, m_afDiffuse, m_afDirection, m_afPosition, m_afSpecular, m_fLinearAttenuation, m_iSpotCutoff, and m_iSpotExponent.
Referenced by K3dMngGeometry::DrawMngGeometry().
float K3dLight::m_afAmbient[4] [private] |
float K3dLight::m_afDiffuse[4] [private] |
float K3dLight::m_afSpecular[4] [private] |
float K3dLight::m_fShininess [private] |
float K3dLight::m_afEmission[4] [private] |
float K3dLight::m_fLinearAttenuation [private] |
int K3dLight::m_iSpotExponent [private] |
int K3dLight::m_iSpotCutoff [private] |
float K3dLight::m_afPosition[4] |
float K3dLight::m_afDirection[3] |