]> git.tdb.fi Git - libs/demoscene.git/blobdiff - source/demo.cpp
Put everything in namespace Msp::DemoScene
[libs/demoscene.git] / source / demo.cpp
index c5456853c55495fc41665b2813af2abfa0bb8f22..c15d5135c62800c6151eb229301a7ef1235c0720 100644 (file)
@@ -3,7 +3,9 @@
 #include "stage.h"
 
 using namespace std;
-using namespace Msp;
+
+namespace Msp {
+namespace DemoScene {
 
 Demo::Demo(Graphics::Window &window, Graphics::GLContext &gl_ctx, DataFile::Collection &r):
        resources(r),
@@ -96,3 +98,6 @@ void Demo::AnimationAction::tick(float, float d)
 {
        player.tick(d*Time::sec);
 }
+
+} // namespace DemoScene
+} // namespace Msp