Conversation
As of box2d 2.4.1, "default user data is now uintptr_t instead of void*". getUserData() returns a struct containing a pointer instead. See erincatto/box2d/commit/f0f9d50a328a709cc3a287a61b864e7d0e3ef35f.
|
What are the benefits of updating? And the risks? |
|
Relevant to SP that I can spot:
The only breaking change affecting SP that I could find was the change in user data using a struct member instead of a raw pointer. The other significant changes all appear to be related to net-new additions like linear shape casting, or fixes or changes in behavior for ropes, joints, and concave polygons, none of which I believe are used in EE/SP. Or as someone smarter than me said about 2.4.1 in #67:
I'm more concerned about potential issues with building on platforms that I don't build on, like MSVC. |
|
Well, mscv isn't an issue. And with all the ecs changes we can just pile this up as well I guess |
Another go at #67 and #222, bumped to the final Box2D v2 release.
v2.4.1 introduced a breaking change to user data pointers, which this also attempts to incorporate.