dbf-halloween2015
diff src/light.h @ 0:50683c78264e
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 00:09:12 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/light.h Sun Nov 01 00:09:12 2015 +0200 1.3 @@ -0,0 +1,16 @@ 1.4 +#ifndef LIGHT_H_ 1.5 +#define LIGHT_H_ 1.6 + 1.7 +#include "vmath/vmath.h" 1.8 + 1.9 +class Light { 1.10 +public: 1.11 + Vector3 pos; 1.12 + Vector3 color; 1.13 + 1.14 + Light(); 1.15 + 1.16 + void setup(int idx = 0) const; 1.17 +}; 1.18 + 1.19 +#endif // LIGHT_H_