cute_framework icon indicating copy to clipboard operation
cute_framework copied to clipboard

Replace cute_c2.h with Box2C

Open RandyGaul opened this issue 1 year ago • 3 comments

Box2C has refactored it's API to be simpler using structs and handles. The collision routines are easily accessible and callable without any setup or fuss. We should remove cute_c2.h and replace it with an out-of-the-box box2c integration. It would still be best to wrap all of the b2*** names with aliases/typedefs, and do minor cleanup inline wraps of certain functions.

It may be best to also replace the dynamic tree with Box2C's dynamic tree, perhaps also keeping the tree serialization code as an addon feature.

RandyGaul avatar Jul 28 '24 23:07 RandyGaul

https://github.com/erincatto/box2c

RandyGaul avatar Jul 28 '24 23:07 RandyGaul

Concerns

  • Need to note about the MIT license

RandyGaul avatar Jul 29 '24 01:07 RandyGaul

Box2D 3.0 is now out with its C API: https://github.com/erincatto/box2d

pusewicz avatar May 30 '25 22:05 pusewicz