#include "culooks.h"
-#include <iostream>
#include <math.h>
vector< pair<int,culooks::window*> > culooks::Windows;
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);
}
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;
static void displayFunc()
{
- cout << ":" << glutGetWindow() << endl;
+ //cout << ":" << glutGetWindow() << endl;
culooks::window *Win = getWin();