From cf3dc47c18c9d980e4076de4e2039b9452aba6d5 Mon Sep 17 00:00:00 2001 From: Philip Rosedale Date: Thu, 19 Dec 2013 23:16:04 -0800 Subject: [PATCH] debug off --- interface/src/avatar/Hand.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/interface/src/avatar/Hand.cpp b/interface/src/avatar/Hand.cpp index af86c29345..136d59bc37 100644 --- a/interface/src/avatar/Hand.cpp +++ b/interface/src/avatar/Hand.cpp @@ -17,8 +17,6 @@ #include "Util.h" #include "renderer/ProgramObject.h" -#define DEBUG_HAND - using namespace std; const float FINGERTIP_VOXEL_SIZE = 0.05; @@ -111,9 +109,6 @@ void Hand::simulateToyBall(PalmData& palm, const glm::vec3& fingerTipPosition, f glm::vec3 newVelocity = NO_VELOCITY; // update the particle with it's new state... -#ifdef DEBUG_HAND - qDebug("Caught!\n"); -#endif caughtParticle->updateParticle(newPosition, closestParticle->getRadius(), closestParticle->getXColor(), @@ -153,9 +148,6 @@ void Hand::simulateToyBall(PalmData& palm, const glm::vec3& fingerTipPosition, f if ((palm.getControllerButtons() & NEW_BALL_BUTTON) && (_toyBallInHand[handID] == false)) { _toyBallInHand[handID] = true; // Create a particle on the particle server -#ifdef DEBUG_HAND - qDebug("Created New Ball\n"); -#endif glm::vec3 ballPosition = ballFromHand ? palm.getPosition() : fingerTipPosition; _ballParticleEditHandles[handID] = app->makeParticle( ballPosition / (float)TREE_SCALE, @@ -201,9 +193,6 @@ void Hand::simulateToyBall(PalmData& palm, const glm::vec3& fingerTipPosition, f ballVelocity = avatarRotation * ballVelocity; ballVelocity *= THROWN_VELOCITY_SCALING; -#ifdef DEBUG_HAND - qDebug("Threw ball, v = %.3f\n", glm::length(ballVelocity)); -#endif uint32_t particleInHandID = _ballParticleEditHandles[handID]->getID(); const Particle* particleInHand = particles->findParticleByID(particleInHandID); xColor colorForParticleInHand = particleInHand ? particleInHand->getXColor()