summaryrefslogtreecommitdiffstats
path: root/tksao/util/util.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/util/util.C')
-rw-r--r--tksao/util/util.C18
1 files changed, 9 insertions, 9 deletions
diff --git a/tksao/util/util.C b/tksao/util/util.C
index edae5c6..dedaba9 100644
--- a/tksao/util/util.C
+++ b/tksao/util/util.C
@@ -171,15 +171,6 @@ double m180To180(double aa)
return rr;
}
-double degToRad(double aa)
-{
- if (isnan(aa) || isinf(aa) || (aa == -DBL_MAX) || (aa == DBL_MAX))
- return NAN;
-
- double rr = M_PI*aa/180.;
- return zeroTWOPI(rr);
-}
-
double radToDeg(double aa)
{
if (isnan(aa) || isinf(aa) || (aa == -DBL_MAX) || (aa == DBL_MAX))
@@ -207,6 +198,15 @@ Vector3d radToDeg(const Vector3d& vv)
return out;
}
+double degToRad(double aa)
+{
+ if (isnan(aa) || isinf(aa) || (aa == -DBL_MAX) || (aa == DBL_MAX))
+ return NAN;
+
+ double rr = M_PI*aa/180.;
+ return zeroTWOPI(rr);
+}
+
Vector degToRad(const Vector& vv)
{
Vector out =vv;