]> git.tdb.fi Git - r2c2.git/commitdiff
GL::Light no longer has a four-argument constructor
authorMikko Rasa <tdb@tdb.fi>
Wed, 19 Mar 2014 17:00:26 +0000 (19:00 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 19 Mar 2014 20:21:06 +0000 (22:21 +0200)
source/3d/layout.cpp

index 30994a378aa10cbc313861fcef0b0b96a4ce1d19..0b457559f92d7bd8c532c1273a619606a613f225 100644 (file)
@@ -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);