]> git.treefish.org Git - phys/latlib.git/commitdiff
...
authorAlex Schmidt <alex@treefish.org>
Mon, 18 Feb 2013 15:32:25 +0000 (16:32 +0100)
committerAlex Schmidt <alex@treefish.org>
Mon, 18 Feb 2013 15:32:25 +0000 (16:32 +0100)
culooks.cpp

index fe8fd0076ad5cbbd7e5cb8b7ba89a04b5e822d39..b54eddd2394f31d7fe14309e53530d7e2b72f229 100644 (file)
@@ -1,6 +1,5 @@
 #include "culooks.h"
 
-#include <iostream>
 #include <math.h>
 
 vector< pair<int,culooks::window*> > culooks::Windows;
@@ -106,7 +105,7 @@ namespace mygl
       if ( culooks::Windows.at(iwin).first == glutGetWindow() ) {
        return culooks::Windows.at(iwin).second;
       }
-    cerr << "Something terrible happened: Could not find window-id!" << endl;
+    //cerr << "Something terrible happened: Could not find window-id!" << endl;
     exit(1);
   }
 
@@ -123,7 +122,7 @@ namespace mygl
 
   static void motionFunc(int x, int y)
   {   
-    cout << x << endl;
+    //cout << x << endl;
     culooks::window *Win = getWin();
    
     Win->cubes.at(rotcube[0]).az += rotcube[1] - x;
@@ -186,7 +185,7 @@ namespace mygl
 
   static void displayFunc()
   {
-    cout << ":" << glutGetWindow() << endl;
+    //cout << ":" << glutGetWindow() << endl;
 
     culooks::window *Win = getWin();