If I try to register multiple constructors for a class, only one of them is used:
class Vector3
{
public:
Vector3();
Vector3(double x_, double y_, double z_);
I register both constructors:
dukglue_register_constructor<Vector3, double, double, double>(ctx, "Vector3");
dukglue_register_constructor<Vector3>(ctx, "Vector3");
but now I can't use the first constructor.
If I try to register multiple constructors for a class, only one of them is used:
I register both constructors:
but now I can't use the first constructor.