X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Flighting.cpp;h=eeb4f30ee8e4ca0796ded102bfaf44049f1063c5;hp=c6207a7673f574d73a01b51dbbb2ec506d383b16;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=a40fc85277dba5c34402a0e703d038efd30cc57b diff --git a/source/lighting.cpp b/source/lighting.cpp index c6207a76..eeb4f30e 100644 --- a/source/lighting.cpp +++ b/source/lighting.cpp @@ -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