rayzor
view 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 |
line source
1 #ifndef LIGHT_H_
2 #define LIGHT_H_
4 #include "vmath.h"
6 class Light {
7 private:
8 Vector3 pos;
9 Vector3 color;
10 Vector3 atten;
12 public:
13 Light();
15 void set_position(const Vector3 &pos);
16 const Vector3 &get_position() const;
18 void set_color(const Vector3 &color);
19 const Vector3 &get_color() const;
21 void set_attenuation(const Vector3 &atten);
22 const Vector3 &get_attenuation() const;
23 };
25 #endif // LIGHT_H_