X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Flight.cpp;h=4b2e289c6c5d7c1b21ebb7f749a0a963523412e4;hp=067cc3d1fee1416cce0451e37a90c6482f7cc2e9;hb=1e974e526806cf1dd5f65b146dfbbb5bf4d7c19b;hpb=8c24084524198e23d65058454001ffb0bf20e94f 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