Something I miss from C++. Being able to just add and subtract, multiply, divide etc a class by another class. But in BlitzMax I have to do that for each parameter. So instead of:
I have to do:
Is this the only way to do it or is there some secluded secret method of doing such a task?
Method Divide:TVector2(Vector:TVector2, Vector2:TVector2) Return Vector - Vector2 End Method
I have to do:
Method Divide:TVector2(Vector:TVector2, Vector2:TVector2) Temp:TVector2 = new TVector2 Temp.X = Vector.X / Vector2.X Temp.Y = Vector.Y / Vector2.Y Return Temp End Method
Is this the only way to do it or is there some secluded secret method of doing such a task?