TCL interface for a light
![]() | constructors
| ||||
![]() | destructor |
TCL interface for a light
TclLight(TclModule *m, CameraOGL *cam, const GLfloat *ambient, const GLfloat *diffuse, const GLfloat *specular, const GLfloat *position, const GLfloat *direction = 0, GLfloat exponent = 0.0, GLfloat cutoff = 180.0, const GLfloat *attenuation = 0)
cam - camera to apply light in
ambient - ambient light 4 coefficients
diffuse - diffuse light 4 coefficients
specular - specular light 4 coefficients
position - light position 4 coefficients
direction - spotlight direction 3 coefficients
exponent - spotlight exponent
cutoff - spotlight cutoff (in degrees)
attenuation - spotlight 3 attenuation factors
int destroyCmd(int argc, char **argv)
int activeCmd(int argc, char **argv)
int paramsCmd(int argc, char **argv)
int showCmd(int argc, char **argv)
static int list(TclModule *m, int argc, char **argv)
static int create(TclModule *m, int argc, char **argv)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de