From 90b7f34ca056f1bd02918bc6159b038f35f29f70 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 2 Oct 2017 16:05:51 +0200 Subject: [PATCH] [DEV] remove some unneeded log --- ephysics/body/RigidBody.cpp | 4 ++-- ephysics/collision/broadphase/DynamicAABBTree.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ephysics/body/RigidBody.cpp b/ephysics/body/RigidBody.cpp index a90c6f3..6f223de 100644 --- a/ephysics/body/RigidBody.cpp +++ b/ephysics/body/RigidBody.cpp @@ -256,9 +256,9 @@ void RigidBody::updateBroadPhaseState() const { for (ProxyShape* shape = m_proxyCollisionShapes; shape != nullptr; shape = shape->m_next) { // Recompute the world-space AABB of the collision shape AABB aabb; - EPHY_ERROR(" : " << aabb.getMin() << " " << aabb.getMax()); + EPHY_VERBOSE(" : " << aabb.getMin() << " " << aabb.getMax()); shape->getCollisionShape()->computeAABB(aabb, m_transform *shape->getLocalToBodyTransform()); - EPHY_ERROR(" : " << aabb.getMin() << " " << aabb.getMax()); + EPHY_VERBOSE(" : " << aabb.getMin() << " " << aabb.getMax()); // Update the broad-phase state for the proxy collision shape m_world.m_collisionDetection.updateProxyCollisionShape(shape, aabb, displacement); } diff --git a/ephysics/collision/broadphase/DynamicAABBTree.cpp b/ephysics/collision/broadphase/DynamicAABBTree.cpp index 70909e0..6c09899 100644 --- a/ephysics/collision/broadphase/DynamicAABBTree.cpp +++ b/ephysics/collision/broadphase/DynamicAABBTree.cpp @@ -131,8 +131,8 @@ bool DynamicAABBTree::updateObject(int32_t _nodeID, const AABB& _newAABB, const assert(_nodeID >= 0 && _nodeID < m_numberAllocatedNodes); assert(m_nodes[_nodeID].isLeaf()); assert(m_nodes[_nodeID].height >= 0); - EPHY_INFO(" compare : " << m_nodes[_nodeID].aabb.m_minCoordinates << " " << m_nodes[_nodeID].aabb.m_maxCoordinates); - EPHY_INFO(" : " << _newAABB.m_minCoordinates << " " << _newAABB.m_maxCoordinates); + EPHY_VERBOSE(" compare : " << m_nodes[_nodeID].aabb.m_minCoordinates << " " << m_nodes[_nodeID].aabb.m_maxCoordinates); + EPHY_VERBOSE(" : " << _newAABB.m_minCoordinates << " " << _newAABB.m_maxCoordinates); // If the new AABB is still inside the fat AABB of the node if ( _forceReinsert == false && m_nodes[_nodeID].aabb.contains(_newAABB)) {