rayzor
diff src/light.h @ 1:a826bf0fb169
fixed line endings
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 05 Apr 2014 09:05:26 +0300 |
parents | 2a5340a6eee4 |
children | d94a69933a71 |
line diff
1.1 --- a/src/light.h Sat Apr 05 08:46:27 2014 +0300 1.2 +++ b/src/light.h Sat Apr 05 09:05:26 2014 +0300 1.3 @@ -1,25 +1,25 @@ 1.4 -#ifndef LIGHT_H_ 1.5 -#define LIGHT_H_ 1.6 - 1.7 -#include "vmath.h" 1.8 - 1.9 -class Light { 1.10 -private: 1.11 - Vector3 pos; 1.12 - Vector3 color; 1.13 - Vector3 atten; 1.14 - 1.15 -public: 1.16 - Light(); 1.17 - 1.18 - void set_position(const Vector3 &pos); 1.19 - const Vector3 &get_position() const; 1.20 - 1.21 - void set_color(const Vector3 &color); 1.22 - const Vector3 &get_color() const; 1.23 - 1.24 - void set_attenuation(const Vector3 &atten); 1.25 - const Vector3 &get_attenuation() const; 1.26 -}; 1.27 - 1.28 -#endif // LIGHT_H_ 1.29 +#ifndef LIGHT_H_ 1.30 +#define LIGHT_H_ 1.31 + 1.32 +#include "vmath.h" 1.33 + 1.34 +class Light { 1.35 +private: 1.36 + Vector3 pos; 1.37 + Vector3 color; 1.38 + Vector3 atten; 1.39 + 1.40 +public: 1.41 + Light(); 1.42 + 1.43 + void set_position(const Vector3 &pos); 1.44 + const Vector3 &get_position() const; 1.45 + 1.46 + void set_color(const Vector3 &color); 1.47 + const Vector3 &get_color() const; 1.48 + 1.49 + void set_attenuation(const Vector3 &atten); 1.50 + const Vector3 &get_attenuation() const; 1.51 +}; 1.52 + 1.53 +#endif // LIGHT_H_