fix one more warning in HeightfieldExample
This commit is contained in:
@@ -303,7 +303,7 @@ randomHeight
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void
|
static void
|
||||||
dumpGrid
|
dumpGrid
|
||||||
(
|
(
|
||||||
@@ -327,7 +327,7 @@ dumpGrid
|
|||||||
//std::cerr << "\n";
|
//std::cerr << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -460,13 +460,9 @@ getRawHeightfieldData
|
|||||||
btAssert(!"bad model type");
|
btAssert(!"bad model type");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (0) {
|
// std::cerr << "final grid:\n";
|
||||||
// inside if(0) so it keeps compiling but isn't
|
//dumpGrid(raw, bytesPerElement, type, s_gridSize - 1);
|
||||||
// exercised and doesn't cause warnings
|
|
||||||
// std::cerr << "final grid:\n";
|
|
||||||
dumpGrid(raw, bytesPerElement, type, s_gridSize - 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// find min/max
|
// find min/max
|
||||||
for (int i = 0; i < s_gridSize; ++i) {
|
for (int i = 0; i < s_gridSize; ++i) {
|
||||||
for (int j = 0; j < s_gridSize; ++j) {
|
for (int j = 0; j < s_gridSize; ++j) {
|
||||||
|
|||||||
Reference in New Issue
Block a user