X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=blobdiff_plain;f=Source%2FEnvironment%2FLights.hpp;h=776e5b1f0330c35136d48f722d9f219f516e06de;hp=42de553de1b7eaec744badb2145e5c9806d0cad9;hb=6a8cb464330e92163c8feaf101b8b5837c973bba;hpb=5fca41ab430df85d6dd620a7f4130df01bc1430f diff --git a/Source/Environment/Lights.hpp b/Source/Environment/Lights.hpp index 42de553..776e5b1 100644 --- a/Source/Environment/Lights.hpp +++ b/Source/Environment/Lights.hpp @@ -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;