I just published Box2d windows phone 8 lib in https://github.com/MKoi/box2d-for-windows-phone-8/.
The project includes some experiments with parallel patterns library (see https://msdn.microsoft.com/en-us/library/dd492418.aspx) in b2ContactSolver.cpp.
Basically that means replacing "for (int32 i = 0; i < m_count; ++i)" with "concurrency::parallel_for(0, m_count, [&](int32 i)" in selected places.
parallel_for also required using thread-specific return values (concurrency::combinable<float>) instead of single result value in SolvePositionConstraints.
Discuss issues specific to miscellaneous ports of Box2D
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests