rayzor

annotate src/light.h @ 9:70e332156d02

moving along
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 10 Apr 2014 02:31:31 +0300
parents 2a5340a6eee4
children d94a69933a71
rev   line source
nuclear@1 1 #ifndef LIGHT_H_
nuclear@1 2 #define LIGHT_H_
nuclear@1 3
nuclear@1 4 #include "vmath.h"
nuclear@1 5
nuclear@1 6 class Light {
nuclear@1 7 private:
nuclear@1 8 Vector3 pos;
nuclear@1 9 Vector3 color;
nuclear@1 10 Vector3 atten;
nuclear@1 11
nuclear@1 12 public:
nuclear@1 13 Light();
nuclear@1 14
nuclear@1 15 void set_position(const Vector3 &pos);
nuclear@1 16 const Vector3 &get_position() const;
nuclear@1 17
nuclear@1 18 void set_color(const Vector3 &color);
nuclear@1 19 const Vector3 &get_color() const;
nuclear@1 20
nuclear@1 21 void set_attenuation(const Vector3 &atten);
nuclear@1 22 const Vector3 &get_attenuation() const;
nuclear@1 23 };
nuclear@1 24
nuclear@1 25 #endif // LIGHT_H_