#include <light.h>
Public Member Functions | |
Light () | |
Light (int _id) | |
void | Zero () |
void | operator= (Light &source) |
void | Enable (BOOL active=-1) |
< -1 affiche ou pas suivant le mode precedent , 0 desactive et 1 active | |
BOOL | IsEnabled () |
void | Toggle () |
void | Use () |
Static Public Member Functions | |
void | SetLighting (BOOL set) |
BOOL | IsLighting () |
Public Attributes | |
int | id |
BOOL | isEnable |
Enabling< GLfloat > | cutoff |
Enabling< GLfloat > | exponent |
Enabling< GLfloat > | attenuationCst |
Enabling< GLfloat > | attenuationLin |
Enabling< GLfloat > | attenuationQuad |
Material | material |
Coordonate< GLfloat > | direction |
Coordonate< GLfloat > | position |
Static Public Attributes | |
BOOL | useLighting |
Les parametres:
Definition at line 41 of file light.h.
|
Definition at line 35 of file light.cpp. References Zero(). |
|
Definition at line 41 of file light.cpp. References Zero(). |
|
< -1 affiche ou pas suivant le mode precedent , 0 desactive et 1 active
|
|
Definition at line 84 of file light.cpp. References BOOL(). Referenced by ControlEngine::DrawLight(), and Toggle(). |
|
Definition at line 30 of file light.cpp. References BOOL(), and useLighting. |
|
Definition at line 61 of file light.cpp. References attenuationCst, attenuationLin, attenuationQuad, cutoff, direction, exponent, isEnable, material, and position. |
|
Definition at line 23 of file light.cpp. References useLighting. Referenced by ConfigProc(), and ControlEngine::InitLights(). |
|
Definition at line 89 of file light.cpp. References Enable(), and IsEnabled(). |
|
Definition at line 94 of file light.cpp. References Material::ambient, attenuationCst, attenuationLin, attenuationQuad, cutoff, Material::diffuse, direction, Enabling< GLfloat >::elem, Enable(), exponent, Coordonate< GLfloat >::isEnable, Enabling< GLfloat >::isEnable, Color::isEnable, and Material::specular. Referenced by ControlEngine::MajLights(). |
|
Definition at line 47 of file light.cpp. References attenuationCst, attenuationLin, attenuationQuad, cutoff, direction, exponent, Enabling< GLfloat >::isEnable, Coordonate< GLfloat >::Zero(), and Material::Zero(). Referenced by Light(). |
|
Definition at line 49 of file light.h. Referenced by ValueEditors::MakeLightsStruct(), operator=(), Use(), and Zero(). |
|
Definition at line 50 of file light.h. Referenced by ValueEditors::MakeLightsStruct(), operator=(), Use(), and Zero(). |
|
Definition at line 51 of file light.h. Referenced by ValueEditors::MakeLightsStruct(), operator=(), Use(), and Zero(). |
|
Definition at line 47 of file light.h. Referenced by ControlEngine::InitLights(), ValueEditors::MakeLightsStruct(), operator=(), Use(), and Zero(). |
|
Definition at line 55 of file light.h. Referenced by ControlEngine::DrawLight(), ValueEditors::MakeLightsStruct(), operator=(), Use(), and Zero(). |
|
Definition at line 48 of file light.h. Referenced by ControlEngine::InitLights(), ValueEditors::MakeLightsStruct(), operator=(), Use(), and Zero(). |
|
Definition at line 45 of file light.h. Referenced by ControlEngine::Start(). |
|
Definition at line 46 of file light.h. Referenced by ConfigProc(), ControlEngine::InitLights(), ValueEditors::MakeLightsStruct(), and operator=(). |
|
Definition at line 54 of file light.h. Referenced by ControlEngine::InitLights(), ControlEngine::MajLights(), ValueEditors::MakeLightsStruct(), and operator=(). |
|
Definition at line 56 of file light.h. Referenced by ControlEngine::DrawLight(), ControlEngine::InitLights(), ValueEditors::MakeLightsStruct(), and operator=(). |
|
Definition at line 21 of file light.cpp. Referenced by IsLighting(), and SetLighting(). |