Browse Source

No debug

develop
Pierre-Antoine 'ZHAJOR' Tible 8 years ago
parent
commit
89fe43df20
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      TheGame/renderwidget.cpp
  2. 1
    1
      UGameEngine/entities/ugeentitycube.cpp

+ 1
- 1
TheGame/renderwidget.cpp View File

85
     if (event->buttons() & Qt::LeftButton) {
85
     if (event->buttons() & Qt::LeftButton) {
86
 //        Vector3D pos = _engine->get3DFrom2D(Vector2D(event->x(), height() - event->y()));
86
 //        Vector3D pos = _engine->get3DFrom2D(Vector2D(event->x(), height() - event->y()));
87
         Vector3D pos = _camera->getPosition();
87
         Vector3D pos = _camera->getPosition();
88
-        qDebug() << pos.getX() << pos.getY() << pos.getZ();
88
+       // qDebug() << pos.getX() << pos.getY() << pos.getZ();
89
         Vector3D bestp;
89
         Vector3D bestp;
90
         bool ok = false;
90
         bool ok = false;
91
         for (int i = 0; i < _engine->getEntities().size(); i++) {
91
         for (int i = 0; i < _engine->getEntities().size(); i++) {

+ 1
- 1
UGameEngine/entities/ugeentitycube.cpp View File

129
                 bestP = pinter;
129
                 bestP = pinter;
130
                 *ok = true;
130
                 *ok = true;
131
             }
131
             }
132
-            qDebug() << bestP.getX() << bestP.getY() << bestP.getZ();
132
+            //qDebug() << bestP.getX() << bestP.getY() << bestP.getZ();
133
         }
133
         }
134
     }
134
     }
135
     return bestP;
135
     return bestP;

Loading…
Cancel
Save