]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/colorfade.cpp
Put everything in namespace Msp::DemoScene
[libs/demoscene.git] / source / colorfade.cpp
index edfd1e03a7092db8cf1bfcfad9b7aeca06025e2a..bebc980943f0ba8d434c0a2f5cb901c4130d7563 100644 (file)
@@ -1,6 +1,7 @@
 #include "colorfade.h"
 
-using namespace Msp;
+namespace Msp {
+namespace DemoScene {
 
 ColorFadeAction::ColorFadeAction(const GL::Color &c):
        InterpolationAction(HERMITE),
@@ -23,3 +24,6 @@ void ColorFadeAction::interpolate(float t, float)
        c.a = start_color.a*(1-t)+end_color.a*t;
        set_color(c);
 }
+
+} // namespace DemoScene
+} // namespace Msp