From: Mikko Rasa Date: Wed, 19 Mar 2014 17:00:26 +0000 (+0200) Subject: GL::Light no longer has a four-argument constructor X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=894276fb6284f817be627a92ac68584e8cb3c288;p=r2c2.git GL::Light no longer has a four-argument constructor --- diff --git a/source/3d/layout.cpp b/source/3d/layout.cpp index 30994a3..0b45755 100644 --- a/source/3d/layout.cpp +++ b/source/3d/layout.cpp @@ -16,7 +16,7 @@ Layout3D::Layout3D(Layout &l): catalogue(layout.get_catalogue()) { // South, 15° from zenith - sun.set_position(0, -0.259, 0.966, 0); + sun.set_position(GL::Vector4(0, -0.259, 0.966, 0)); sun.set_diffuse(GL::Color(0.9)); lighting.set_ambient(GL::Color(0.4)); lighting.attach(0, sun);