Ver código fonte

No debug

develop
Pierre-Antoine 'ZHAJOR' Tible 8 anos atrás
pai
commit
89fe43df20
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1
    1
      TheGame/renderwidget.cpp
  2. 1
    1
      UGameEngine/entities/ugeentitycube.cpp

+ 1
- 1
TheGame/renderwidget.cpp Ver arquivo

@@ -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 Ver arquivo

@@ -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;

Carregando…
Cancelar
Salvar