| Gtk OpenGL Toolkit (gtkogltk) Reference Manual |
|---|
#include <ogltk/lightbulb.h> struct ogltk_lightbulb; ogltk_lightsource* ogltk_lightbulb_new (OgltkLightSource source, gfloat x, gfloat y, gfloat z);
ogltk_lightsource* ogltk_lightbulb_new (OgltkLightSource source, gfloat x, gfloat y, gfloat z);
New lightbulb lightsource.
| source : | OpenGL Source (Light0,light1 etc...) |
| x : | X Axis location in scene |
| y : | Y Axis location in scene |
| z : | Z Axis location in scene |
| Returns : | New instance of a light bulb lightsource. |
| <<< Lightsource Reference | GLobject Reference >>> |