Volker wrote:
I think the reason for not offering callback methods is that it is less portable to other languages than C/C++. On the other side, one could just ignore this functionality on language bindings that do not support function pointers.
With Horde exporting a C API, we wouldn't be able to offer support for C++ functors, which rules out using member functions as callbacks - pretty much essential for this sort of functionality.
Quote:
In principal I agree, that callbacks could become handy in some cases (especially in case of physics).
It works in principle, but once you move to a more robust architecture (i.e. independent time-steps for physics and rendering), your callbacks need to carry around a lot of state, and the advantages of callbacks pretty much go down the drain.