huminzheng
Hi guys!
Is there a sample about calling C++ Assimp function from javascrip?
Hi guys!
Is there a sample about calling C++ Assimp function from javascrip?
Assimp is not even linked to Emscripten binary by default. You cannot call it from C++, not just from javascript.
If you link Assimp to your binary, you should be able to expose its functions in JS like here:
https://github.com/urho3d/Urho3D/blob/master/Source/Urho3D/Graphics/OpenGL/OGLGraphics.cpp#L138
Thanks for your reply. I have already build the Urho3D success with emscripten on windows. How could i link assimp to the Urho3D Emscripten binary ?