From 32e06e889e91f702074139fbbb369eddb5f48775 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 21 May 2019 17:44:34 +1000 Subject: [PATCH] vector: note the representation of polar angles --- vector.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vector.hpp b/vector.hpp index ff4833d8..ed224485 100644 --- a/vector.hpp +++ b/vector.hpp @@ -131,6 +131,8 @@ namespace cruft { // polar/cartesian conversions; assumes (mag, angle) form. + // + // The angle is specified in radians. template vector<2,T> polar_to_cartesian (vector<2,T>); template vector<2,T> cartesian_to_polar (vector<2,T>);