ogltk-lightbulb

Name

ogltk-lightbulb -- A simple lightsource object.

Synopsis


#include <ogltk/lightbulb.h>


struct      ogltk_lightbulb;
ogltk_lightsource* ogltk_lightbulb_new      (OgltkLightSource source,
                                             gfloat x,
                                             gfloat y,
                                             gfloat z);

Description

Details

struct ogltk_lightbulb

struct ogltk_lightbulb {

    ogltk_lightsource       parent_instance;
};


ogltk_lightbulb_new ()

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.