LINUX.ORG.RU

История изменений

Исправление dataman, (текущая версия) :

А до этого был на чем?

На C++. Но:

The C++ usage in Box2D is very light. There is no usage of std and polymorphism is only used for a couple classes. So there is little justification for Box2D to be in C++ rather than C, and with the API change above, there is even less reason. The main thing I am missing so far are math operator overloads. But even that is not a big deal. It hasn’t slowed me down at all.

Интересно было бы сравнить старую и новую реализацию по производительности.

Алгоритмы другие, так что какой смысл?

Исходная версия dataman, :

А до этого был на чем?

На C++. Но:

The C++ usage in Box2D is very light. There is no usage of std and polymorphism is only used for a couple classes. So there is little justification for Box2D to be in C++ rather than C, and with the API change above, there is even less reason. The main thing I am missing so far are math operator overloads. But even that is not a big deal. It hasn’t slowed me down at all.