Update btBatchedConstraints.cpp

btVector3 constructor added.
This commit is contained in:
Mark S 2019-10-19 02:34:45 +03:00 committed by GitHub
parent 95fd362857
commit 88e4ca1970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -890,7 +890,7 @@ static void setupSpatialGridBatchesMt(
btVector3 gridExtent = bboxMax - bboxMin;
gridExtent.setMax({btScalar(1), btScalar(1), btScalar(1)});
gridExtent.setMax(btVector3(btScalar(1), btScalar(1), btScalar(1)));
btVector3 gridCellSize = consExtent;
int gridDim[3];