You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
Style: Enforce braces around if blocks and loops
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
This commit is contained in:
@@ -68,10 +68,11 @@ btVector3 btRayShape::localGetSupportingVertex(const btVector3 &vec) const {
|
||||
}
|
||||
|
||||
btVector3 btRayShape::localGetSupportingVertexWithoutMargin(const btVector3 &vec) const {
|
||||
if (vec.z() > 0)
|
||||
if (vec.z() > 0) {
|
||||
return m_shapeAxis * m_cacheScaledLength;
|
||||
else
|
||||
} else {
|
||||
return btVector3(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void btRayShape::batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const {
|
||||
|
||||
Reference in New Issue
Block a user