Browse Source

No debug

develop
Pierre-Antoine 'ZHAJOR' Tible 7 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,7 +85,7 @@ void RenderWidget::mousePressEvent(QMouseEvent *event)
85 85
     if (event->buttons() & Qt::LeftButton) {
86 86
 //        Vector3D pos = _engine->get3DFrom2D(Vector2D(event->x(), height() - event->y()));
87 87
         Vector3D pos = _camera->getPosition();
88
-        qDebug() << pos.getX() << pos.getY() << pos.getZ();
88
+       // qDebug() << pos.getX() << pos.getY() << pos.getZ();
89 89
         Vector3D bestp;
90 90
         bool ok = false;
91 91
         for (int i = 0; i < _engine->getEntities().size(); i++) {

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

@@ -129,7 +129,7 @@ Vector3D UGEEntityCube::getVectorNearestIntesection(const Vector3D &vector, cons
129 129
                 bestP = pinter;
130 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 135
     return bestP;

Loading…
Cancel
Save