#include <gameobjs.h>
Inheritance diagram for Light:


No rendered presence.
Public Member Functions | |
| Light () | |
| Default constructor sets light to GL_LIGHT0. | |
| Light (GLenum t) | |
| Choose the GL_LIGHT* to use. | |
| void | enable (void) |
| Light goes on. | |
| void | disable (void) |
| Light goes off. | |
| void | setAmb (float *in) |
| Set the ambience of this particular light. | |
| void | setDiff (float *in) |
| Set the diffuse intensity. | |
| void | pos (float xin, float yin, float zin) |
| Position the light. | |
| void | update (float time) |
| I can't remember what this was supposed to do. | |
| void | render (void) |
| "Draw" the light. | |
|
|
Choose the GL_LIGHT* to use.
|
|
|
"Draw" the light.
Implements AbsObj. |
|
|
I can't remember what this was supposed to do.
Implements AbsObj. |
1.3.9.1