mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
removed some debug code
This commit is contained in:
parent
3bb16ce831
commit
a03984a561
2 changed files with 1 additions and 18 deletions
|
@ -434,23 +434,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
|
|||
#endif
|
||||
|
||||
this->installEventFilter(this);
|
||||
|
||||
|
||||
|
||||
|
||||
qDebug() << "------------------------------------------------------------";
|
||||
qDebug() << " test findRayTrianlgeIntersection()....";
|
||||
float distanceA;
|
||||
bool testA = findRayTrianlgeIntersection(glm::vec3(0.5,0.5,1), glm::vec3(0,0,-1), glm::vec3(0,0,0), glm::vec3(1,0,0), glm::vec3(0,1,0), distanceA);
|
||||
qDebug() << " testA:" << testA;
|
||||
qDebug() << " distanceA:" << distanceA;
|
||||
|
||||
float distanceB;
|
||||
bool testB = findRayTrianlgeIntersection(glm::vec3(0.5,0.5,1), glm::vec3(0,0,-1), glm::vec3(0,0,0), glm::vec3(0,1,0), glm::vec3(1,0,0), distanceB);
|
||||
qDebug() << " testB:" << testB;
|
||||
qDebug() << " distanceB:" << distanceB;
|
||||
qDebug() << "------------------------------------------------------------";
|
||||
|
||||
}
|
||||
|
||||
void Application::aboutToQuit() {
|
||||
|
|
|
@ -273,7 +273,7 @@ bool RenderableModelEntityItem::findDetailedRayIntersection(const glm::vec3& ori
|
|||
QString extraInfo;
|
||||
float localDistance;
|
||||
|
||||
qDebug() << "RenderableModelEntityItem::findDetailedRayIntersection() precisionPicking:" << precisionPicking;
|
||||
//qDebug() << "RenderableModelEntityItem::findDetailedRayIntersection() precisionPicking:" << precisionPicking;
|
||||
|
||||
bool intersectsModel = _model->findRayIntersectionAgainstSubMeshes(originInMeters, direction,
|
||||
localDistance, face, extraInfo, precisionPicking);
|
||||
|
|
Loading…
Reference in a new issue