vector: note the representation of polar angles

This commit is contained in:
Danny Robson 2019-05-21 17:44:34 +10:00
parent f6b1f47e23
commit 32e06e889e

View File

@ -131,6 +131,8 @@ namespace cruft {
// polar/cartesian conversions; assumes (mag, angle) form.
//
// The angle is specified in radians.
template <typename T> vector<2,T> polar_to_cartesian (vector<2,T>);
template <typename T> vector<2,T> cartesian_to_polar (vector<2,T>);