tweak log format

This commit is contained in:
Andrew Meadows 2016-05-19 00:16:25 -07:00
parent 7866fcf78c
commit 9fae1a7edd

View file

@ -221,8 +221,10 @@ void PhysicalEntitySimulation::getObjectsToAddToPhysics(VectorOfMotionStates& re
const int MAX_HULL_POINTS = 42;
if (numPoints > MAX_HULL_POINTS) {
glm::vec3 p = entity->getPosition();
qDebug() << "entity" << entity->getName() << "at <" << p.x << p.y << p.z << ">"
<< "has convex hull with" << numPoints << "points";
qWarning().nospace() << "convex hull with " << numPoints
<< " points for entity " << entity->getName()
<< " at <" << p.x << ", " << p.y << ", " << p.z << ">"
<< " will be reduced";
}
btCollisionShape* shape = ObjectMotionState::getShapeManager()->getShape(shapeInfo);
if (shape) {