[DEV] remove some unneeded log

This commit is contained in:
Edouard DUPIN 2017-10-02 16:05:51 +02:00
parent c62de9694b
commit 90b7f34ca0
2 changed files with 4 additions and 4 deletions

View File

@ -256,9 +256,9 @@ void RigidBody::updateBroadPhaseState() const {
for (ProxyShape* shape = m_proxyCollisionShapes; shape != nullptr; shape = shape->m_next) { for (ProxyShape* shape = m_proxyCollisionShapes; shape != nullptr; shape = shape->m_next) {
// Recompute the world-space AABB of the collision shape // Recompute the world-space AABB of the collision shape
AABB aabb; AABB aabb;
EPHY_ERROR(" : " << aabb.getMin() << " " << aabb.getMax()); EPHY_VERBOSE(" : " << aabb.getMin() << " " << aabb.getMax());
shape->getCollisionShape()->computeAABB(aabb, m_transform *shape->getLocalToBodyTransform()); 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 // Update the broad-phase state for the proxy collision shape
m_world.m_collisionDetection.updateProxyCollisionShape(shape, aabb, displacement); m_world.m_collisionDetection.updateProxyCollisionShape(shape, aabb, displacement);
} }

View File

@ -131,8 +131,8 @@ bool DynamicAABBTree::updateObject(int32_t _nodeID, const AABB& _newAABB, const
assert(_nodeID >= 0 && _nodeID < m_numberAllocatedNodes); assert(_nodeID >= 0 && _nodeID < m_numberAllocatedNodes);
assert(m_nodes[_nodeID].isLeaf()); assert(m_nodes[_nodeID].isLeaf());
assert(m_nodes[_nodeID].height >= 0); assert(m_nodes[_nodeID].height >= 0);
EPHY_INFO(" compare : " << m_nodes[_nodeID].aabb.m_minCoordinates << " " << m_nodes[_nodeID].aabb.m_maxCoordinates); EPHY_VERBOSE(" compare : " << m_nodes[_nodeID].aabb.m_minCoordinates << " " << m_nodes[_nodeID].aabb.m_maxCoordinates);
EPHY_INFO(" : " << _newAABB.m_minCoordinates << " " << _newAABB.m_maxCoordinates); EPHY_VERBOSE(" : " << _newAABB.m_minCoordinates << " " << _newAABB.m_maxCoordinates);
// If the new AABB is still inside the fat AABB of the node // If the new AABB is still inside the fat AABB of the node
if ( _forceReinsert == false if ( _forceReinsert == false
&& m_nodes[_nodeID].aabb.contains(_newAABB)) { && m_nodes[_nodeID].aabb.contains(_newAABB)) {