
21 Sep
2006
21 Sep
'06
12:03 p.m.
On Wed, 2006-09-20 at 17:48 +0100, Olivier Grant wrote:
Right now I have three simple vector classes - ranging from vector2d to vector4d - that are not templetized since I like the idea of being able to access coordinates directly by their name
Unfortunately, this is not the best choice. As sson as you will have to iterate through the coordinates, you will find that having an array is necessary (at least if you do not want to have an awful efficiency....). Theo.