how to implement vector structs with different number of components without much code duplication?

Trass3r un at known.com
Fri Mar 12 15:20:33 PST 2010


Is there maybe a way to implement commonly needed vector classes Vec2,  
Vec3, Vec4 without having to implement the same basic code over and over  
again?


More information about the Digitalmars-d-learn mailing list