The Vec3f Class
Some of my programs use a special vector class I wrote called "Vec3f", a vector of three floats. You can use #include "vec3f.h" to include the class. It does everything you'd expect vectors to do. You can add and subtract using + and -, multiply and divide using * and /, get or set the components using vec, vec, and vec, and do some other stuff. You can even cout a Vec3f. You can see everything that you can do with a Vec3f by looking at vec3f.h.