nuclear@1: #ifndef LIGHT_H_ nuclear@1: #define LIGHT_H_ nuclear@1: nuclear@1: #include "vmath.h" nuclear@1: nuclear@1: class Light { nuclear@1: private: nuclear@1: Vector3 pos; nuclear@1: Vector3 color; nuclear@1: Vector3 atten; nuclear@1: nuclear@1: public: nuclear@1: Light(); nuclear@1: nuclear@1: void set_position(const Vector3 &pos); nuclear@1: const Vector3 &get_position() const; nuclear@1: nuclear@1: void set_color(const Vector3 &color); nuclear@1: const Vector3 &get_color() const; nuclear@1: nuclear@1: void set_attenuation(const Vector3 &atten); nuclear@1: const Vector3 &get_attenuation() const; nuclear@1: }; nuclear@1: nuclear@1: #endif // LIGHT_H_