Sets box2d as default physics 2d engine

This commit is contained in:
halx99 2020-11-08 13:20:36 +08:00
parent 052558e83d
commit b2d8a4626c
1 changed files with 2 additions and 2 deletions

View File

@ -258,12 +258,12 @@ THE SOFTWARE.
#if (CC_USE_PHYSICS)
/** Use chipmunk physics 2d engine. */
#ifndef CC_ENABLE_CHIPMUNK_INTEGRATION
#define CC_ENABLE_CHIPMUNK_INTEGRATION 1
#define CC_ENABLE_CHIPMUNK_INTEGRATION 0
#endif
/** or use box2d physics 2d engine. */
#ifndef CC_ENABLE_BOX2D_INTEGRATION
#define CC_ENABLE_BOX2D_INTEGRATION 0
#define CC_ENABLE_BOX2D_INTEGRATION 1
#endif
#endif // CC_USE_PHYSICS