X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FEnvironment%2FLights.hpp;h=776e5b1f0330c35136d48f722d9f219f516e06de;hb=6a8cb464330e92163c8feaf101b8b5837c973bba;hp=ca113e06e7d5da103dc39987a8b5008e8f9054e3;hpb=ed3662c0852c4312a612b4fc35bd03aba8d13db7;p=lugaru.git diff --git a/Source/Environment/Lights.hpp b/Source/Environment/Lights.hpp index ca113e0..776e5b1 100644 --- a/Source/Environment/Lights.hpp +++ b/Source/Environment/Lights.hpp @@ -1,6 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games -Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) +Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -22,7 +22,7 @@ along with Lugaru. If not, see . #define _LIGHTS_HPP_ #include "Graphic/gamegl.hpp" -#include "Math/Quaternions.hpp" +#include "Math/XYZ.hpp" class Light { @@ -33,7 +33,8 @@ public: int attach; XYZ location; inline void setColors(GLfloat cr, GLfloat cg, GLfloat cb, - GLfloat ar, GLfloat ag, GLfloat ab) { + GLfloat ar, GLfloat ag, GLfloat ab) + { color[0] = cr; color[1] = cg; color[2] = cb;