]> git.tdb.fi Git - libs/gl.git/blobdiff - source/lighting.cpp
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / lighting.cpp
index c6207a7673f574d73a01b51dbbb2ec506d383b16..eeb4f30ee8e4ca0796ded102bfaf44049f1063c5 100644 (file)
@@ -155,7 +155,7 @@ void Lighting::Loader::sky_color(float r, float g, float b)
 
 void Lighting::Loader::zenith_direction(float x, float y, float z)
 {
-       obj.set_sky_direction(Vector3(x, y, z));
+       obj.set_zenith_direction(Vector3(x, y, z));
 }
 
 } // namespace GL