mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-17 15:01:06 +00:00
fix compile error for GCC
This commit is contained in:
parent
b8720f2161
commit
06690e542b
@ -1113,7 +1113,7 @@ void btBatchedConstraints::setup(
|
|||||||
{
|
{
|
||||||
if (constraints->size() >= minBatchSize*4)
|
if (constraints->size() >= minBatchSize*4)
|
||||||
{
|
{
|
||||||
bool use2DGrid = batchingMethod == BatchingMethod::BATCHING_METHOD_SPATIAL_GRID_2D;
|
bool use2DGrid = batchingMethod == BATCHING_METHOD_SPATIAL_GRID_2D;
|
||||||
setupSpatialGridBatchesMt( this, scratchMemory, constraints, bodies, minBatchSize, maxBatchSize, use2DGrid );
|
setupSpatialGridBatchesMt( this, scratchMemory, constraints, bodies, minBatchSize, maxBatchSize, use2DGrid );
|
||||||
if (s_debugDrawBatches)
|
if (s_debugDrawBatches)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user