rayzor

view src/light.h @ 5:5fcf72837b69

fixed the dosemu bit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 06 Apr 2014 02:43:24 +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_