Due to the lack of AS3 operator overloading most methods exists in different names,
all methods that ends with Self actually modifies the object itself (including obvious ones copy, copyXY and zero).
For example v1 += v2; is written as v1.addSelf(v2);
The class in not commented properly yet - just subdivided into logical chunks.
author
playchilla.com
License: Use it as you wish and if you like it - link back!
A 2d Vector class to that is mutable.
Due to the lack of AS3 operator overloading most methods exists in different names, all methods that ends with Self actually modifies the object itself (including obvious ones copy, copyXY and zero). For example v1 += v2; is written as v1.addSelf(v2);
The class in not commented properly yet - just subdivided into logical chunks.
playchilla.com
License: Use it as you wish and if you like it - link back!