Hi all,
I'm trying to expose my Point class to AngelScript, so that it can be used like so:
// This works
Point aPos;
aPos.x=50;
aPos.y=50;
// This doesn't
Point aAnotherPos=Point(1,1);
So first part, no problem... the second part keeps telling me no matching signatures to Point with int, int.
But I do have this:
aResult=gEngine->RegisterObjectMethod("Point","Point &opAssign(const int, const int)", asFUNCTION(AssignPointII),asCALL_GENERIC);
Am I going about this entirely the wrong way?