Second, I'd like to know if it could be possible to change the assignment operator behaviour to avoid a new instantiation whenever the object already exists, for example:
Vec2 a = new Vec2()
a = b + c * 2;
here the assignment operator may point a set method instead of valueOf
Hi,
Let me first say this is an awesome project!
Second, I'd like to know if it could be possible to change the assignment operator behaviour to avoid a new instantiation whenever the object already exists, for example:
Vec2 a = new Vec2() a = b + c * 2;
here the assignment operator may point a
set
method instead ofvalueOf