X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flight.cpp;h=4b2e289c6c5d7c1b21ebb7f749a0a963523412e4;hb=27abdf9ad5d5e297fd74ddc23b39b0c7817a20d8;hp=067cc3d1fee1416cce0451e37a90c6482f7cc2e9;hpb=2e7f19b895424c3a77940e648639f8df2b395d0f;p=libs%2Fgl.git diff --git a/source/light.cpp b/source/light.cpp index 067cc3d1..4b2e289c 100644 --- a/source/light.cpp +++ b/source/light.cpp @@ -7,6 +7,9 @@ using namespace std; namespace Msp { namespace GL { +unsigned Light::current_unit = 0; +vector Light::current_lights(1); + Light::Light(): ambient(0), diffuse(1), @@ -117,8 +120,5 @@ void Light::unbind_from(unsigned i) unbind(); } -unsigned Light::current_unit = 0; -vector Light::current_lights(1); - } // namespace GL } // namespace Msp