This class should have been posted long ago. So, seeing how popular my C++ Vector2 class page has been, I've decided to finally post this for your needs. This version is similar to the "improvements" on the Vector2 class, supposedly helping encapsulation; frankly, that's up for you to decide.
...
This is an improved Vector2 class I'm working on with suggestions from Leander Hasting, though I haven't touched upon all of them yet. Beyond that, some of the critiques seem subjective to a point, and other professionals he pointed me to, make the same argument; and that is the argument of the use...
[Edit: Checkout the improved Vector2 class here: improved Vector2 blog post.]
Hey, it's been a while since I've posted anything, and I've been wanting to share this Vector2 class that I have written. It started being developed less than a year ago, and has undergone some minor changes since the...