rayzor
view src/light.h @ 0:2a5340a6eee4
rayzor first commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 05 Apr 2014 08:46:27 +0300 |
parents | |
children | a826bf0fb169 |
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_