vector: note what each component in spherical corresponds to
This commit is contained in:
parent
951b160d0d
commit
5532f90de7
@ -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 <typename T>
|
||||
constexpr vector<3,T>
|
||||
cartesian_to_spherical (vector<3,T> c)
|
||||
|
Loading…
Reference in New Issue
Block a user