Hey,
The DragonFireSDK is a development center that compiles your c++ code into objective-c and allows you to create I-phone apps while coding c++.
I have created an app integrated with the Box2d.
My problem is that I cannot include <algorithm> since this is a Microsoft include file.
My only point of contact with this library is in the void b2BroadPhase::UpdatePairs(T* callback) function (in b2BroadPhase.h):
My Q is what will happen if I will just comment this line? How will it influence the Box2D engine?
Can I sort the pairs in a different way that does not use the <algorithm> file?
What would you suggest me to do?
The DragonFireSDK is a development center that compiles your c++ code into objective-c and allows you to create I-phone apps while coding c++.
I have created an app integrated with the Box2d.
My problem is that I cannot include <algorithm> since this is a Microsoft include file.
My only point of contact with this library is in the void b2BroadPhase::UpdatePairs(T* callback) function (in b2BroadPhase.h):
Code:
std::sort(m_pairBuffer, m_pairBuffer + m_pairCount, b2PairLessThan);
My Q is what will happen if I will just comment this line? How will it influence the Box2D engine?
Can I sort the pairs in a different way that does not use the <algorithm> file?
What would you suggest me to do?