Class tgLighting. More...
#include <tgLighting.h>
Public Member Functions | |
void | Activate () |
void | ApplyLight (tgLight light, int index=0) |
void | Deactivate () |
void | SetLightDir (vec3 v) |
void | SetLightDir (float x, float y, float z) |
void | SetLightPos (vec3 v) |
void | SetLightPos (float x, float y, float z) |
Private Attributes | |
vec3 | lightDir |
vec3 | lightPos |
void tgLighting::Activate | ( | ) |
Definition at line 21 of file tgLighting.cpp.
void tgLighting::ApplyLight | ( | tgLight | light, |
int | index = 0 |
||
) |
Definition at line 13 of file tgLighting.cpp.
void tgLighting::Deactivate | ( | ) |
Definition at line 25 of file tgLighting.cpp.
void TomGine::tgLighting::SetLightDir | ( | vec3 | v | ) | [inline] |
Definition at line 47 of file tgLighting.h.
void TomGine::tgLighting::SetLightDir | ( | float | x, |
float | y, | ||
float | z | ||
) | [inline] |
Definition at line 50 of file tgLighting.h.
void TomGine::tgLighting::SetLightPos | ( | vec3 | v | ) | [inline] |
Definition at line 46 of file tgLighting.h.
void TomGine::tgLighting::SetLightPos | ( | float | x, |
float | y, | ||
float | z | ||
) | [inline] |
Definition at line 49 of file tgLighting.h.
vec3 TomGine::tgLighting::lightDir [private] |
Definition at line 39 of file tgLighting.h.
vec3 TomGine::tgLighting::lightPos [private] |
Definition at line 38 of file tgLighting.h.