webidl abstract class

13 views
Skip to first unread message

Stéphane Ancelot

unread,
Feb 12, 2021, 3:22:24 PM2/12/21
to emscripten-discuss
Hi , i would need some help.

I have to bind this c++ code :

struct btOverlapFilterCallback
{
virtual ~btOverlapFilterCallback()
{}
// return true when pairs need collision
virtual bool needBroadphaseCollision(btBroadphaseProxy* proxy0,btBroadphaseProxy* proxy1) const = 0;
};


I defined the interface as follow :

interface btOverlapFilterCallback {
  boolean needBroadphaseCollision(btBroadphaseProxy childProxy0, btBroadphaseProxy childProxy1);
};

But I dont't manage to use it. (and it does not to work).
I suppose I should be able to have a class on js side 

Regards
Steph

Reply all
Reply to author
Forward
0 new messages