| Why dont you just extend the vector class to add magnitude, dot, and cross methods?I do agree with you 100% on the vector being a poor choice.  I recently coded a matrix class with gaussian reduction, but I didnt run into this.  I wish the math class in every language went beyond highschool level mathematics.
 
 
 Still, I think java used an arrayList, so java is better in this instance.  However, I now end up doing everything in XML, XSD, XSLT, and SVG.  I create file or strings, and an engine does all the processing.  Not really fun, but there are a lot of options for creative solutions....so its not so bad.
 |