fix one more warning in HeightfieldExample

This commit is contained in:
Erwin Coumans
2019-04-16 09:26:33 -07:00
parent a7e1c5b681
commit 6912290080

View File

@@ -303,7 +303,7 @@ randomHeight
}
#if 0
static void
dumpGrid
(
@@ -327,7 +327,7 @@ dumpGrid
//std::cerr << "\n";
}
}
#endif
static void
@@ -460,12 +460,8 @@ getRawHeightfieldData
btAssert(!"bad model type");
}
if (0) {
// inside if(0) so it keeps compiling but isn't
// exercised and doesn't cause warnings
// std::cerr << "final grid:\n";
dumpGrid(raw, bytesPerElement, type, s_gridSize - 1);
}
// std::cerr << "final grid:\n";
//dumpGrid(raw, bytesPerElement, type, s_gridSize - 1);
// find min/max
for (int i = 0; i < s_gridSize; ++i) {