next up previous contents
Next: Metode Up: A.4 Light Previous: A.4 Light Vsebina: contents

Definicija

class Light: public Object
{
protected:

vec3 col; // barva svetlobnega izvora

public:

vec3 color() { return col; };
void setColor( RGBColor& color);
void setColor(double color[3]);
virtual void Describe(int indent);
};



Copyright © 1995 Leon Kos, Univerza v Ljubljani