Skip to content
Snippets Groups Projects
Commit 98c7f7fa authored by Saad Jbabdi's avatar Saad Jbabdi
Browse files

*** empty log message ***

parent 0530e66c
No related branches found
No related tags found
No related merge requests found
......@@ -1109,13 +1109,6 @@ float median(const ColumnVector& x)
return m;
}
void sph2cart(const ColumnVector& dir, float& th, float& ph)
{
dir(1) = cos(ph) * sin(th);
dir(2) = sin(ph) * sin(th);
dir(3) = cos(th);
}
void cart2sph(const ColumnVector& dir, float& th, float& ph)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment