vector: note the order of components for polar

This commit is contained in:
Danny Robson 2015-04-08 19:00:46 +10:00
parent af11d7c730
commit c94535dfae

View File

@ -57,7 +57,7 @@ namespace util {
void sanity (void) const;
};
// free vector operators
// polar/cartesian conversions; assumes (mag, angle) form.
template <typename T> vector<2,T> polar_to_cartesian (vector<2,T>);
template <typename T> vector<2,T> cartesian_to_polar (vector<2,T>);