Pierre-Antoine 'ZHAJOR' Tible před 8 roky
rodič
revize
89fe43df20

+ 1
- 1
TheGame/renderwidget.cpp Zobrazit soubor

@@ -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 Zobrazit soubor

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

Načítá se…
Zrušit
Uložit