@newbieg "On line 16 in vector2.h why is there an & after the vector2?"
Because in the vector2.cpp I am returning the address of the rhs.
1 2 3 4 5 6 7
vector2& vector2::operator=(const vector2 &rhs)
x = rhs.x;
y = rhs.y;
@vlad from moscow
The reason the headers are inside eachother are so I can multiply a vector by matrix and vica versa in the respected .cpp's (shown below). Removing either headers from within eachother doubles the amount of errors, leaving the original errors untouched.