X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flighting.cpp;h=eeb4f30ee8e4ca0796ded102bfaf44049f1063c5;hb=df20a7e137542a4156cc5ffa8118d59de6b68547;hp=c6207a7673f574d73a01b51dbbb2ec506d383b16;hpb=fd18332856ddd03f79a54dd034d53cb0a384335d;p=libs%2Fgl.git 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