// vector.h // - defines a simple polar vector structure. #ifndef VECTOR_H #define VECTOR_H struct Vector{ // dir is in radians float mag, dir; }; #endif // VECTOR_H