Re: Euraylib Released!
- Posted by Icy_Viking Jul 03, 2019
- 1639 views
ghaberek said...
Icy_Viking said...
I'd like to wrap the Physah library that comes with Raylib, but it is only a header file and no DLL and the physics functions are not included the core DLL for raylib.
Probably not gonna happen, sorry.
https://github.com/victorfisac/Physac/blob/master/src/physac.h#L42
* NOTE 1: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations. * NOTE 2: Physac requires static C library linkage to avoid dependency on MinGW DLL (-static -lpthread)
The threads might not be a problem, but it won't be easy to static link without embedding directly into the interpreter itself.
-Greg
Dang, that's too bad. Looks like it would be fairly easy to wrap besides those things.