From 5532f90de7da2bd3ff98185243a023b257b002bd Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 27 Mar 2018 16:11:49 +1100 Subject: [PATCH] vector: note what each component in spherical corresponds to --- vector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector.hpp b/vector.hpp index e15730c4..98b236e2 100644 --- a/vector.hpp +++ b/vector.hpp @@ -86,7 +86,7 @@ namespace util { } // convert vector in cartesian coordinates (x,y,z) to spherical - // coordinates (r,theta,phi) with theta inclination and phi azimuth. + // coordinates (r,inclination,azimuth) with theta inclination and phi azimuth. template constexpr vector<3,T> cartesian_to_spherical (vector<3,T> c)