[DEV] remove some unneeded log
This commit is contained in:
parent
c62de9694b
commit
90b7f34ca0
@ -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);
|
||||
}
|
||||
|
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user