My situation is that I'm trying to bind my Vector3 C++ class, using SqPlus, and I've hit a snag with an operator defined as a friend.
Specifically, I'm trying to define an operator* so that I can multiply the Vector3 by a float on the left side (ex. "2.0 * myVec"). Using member operators, I can only do "myVec * 2.0".
Is there any way to achieve this behavior in Squirrel, or am I stuck with multiplying on the right?
-~ Amateur game dev ~-
Current goal: Find best way to write my math library