mirror of
https://github.com/lubosz/overte.git
synced 2025-04-13 20:06:16 +02:00
Format if..else statements
This commit is contained in:
parent
0b40608650
commit
b7d5804edb
2 changed files with 2 additions and 4 deletions
|
@ -879,8 +879,7 @@ struct AllContactsCallback : public btCollisionWorld::ContactResultCallback {
|
|||
otherBody = colObj1->m_collisionObject;
|
||||
penetrationPoint = getWorldPoint(cp.m_localPointB, colObj1->getWorldTransform());
|
||||
otherPenetrationPoint = getWorldPoint(cp.m_localPointA, colObj0->getWorldTransform());
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
otherBody = colObj0->m_collisionObject;
|
||||
penetrationPoint = getWorldPoint(cp.m_localPointA, colObj0->getWorldTransform());
|
||||
otherPenetrationPoint = getWorldPoint(cp.m_localPointB, colObj1->getWorldTransform());
|
||||
|
|
|
@ -235,8 +235,7 @@ public:
|
|||
if (shapeType >= SHAPE_TYPE_COMPOUND && shapeType <= SHAPE_TYPE_STATIC_MESH && shape["modelURL"].isValid()) {
|
||||
QString newURL = shape["modelURL"].toString();
|
||||
modelURL.setUrl(newURL);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
modelURL.setUrl("");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue