From 894276fb6284f817be627a92ac68584e8cb3c288 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 19 Mar 2014 19:00:26 +0200 Subject: [PATCH] GL::Light no longer has a four-argument constructor --- source/3d/layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.43.0