diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-08-16 17:45:21 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-08-16 17:45:21 (GMT) |
commit | 736fd973a10126328161a31161812ceab39e55d9 (patch) | |
tree | 91fc6c559dc106ac05f1c8402a92ca237a70fb34 /tksao/util | |
parent | 2557a11471ce1415d7984c82470343cd4c0ae2bf (diff) | |
download | blt-736fd973a10126328161a31161812ceab39e55d9.zip blt-736fd973a10126328161a31161812ceab39e55d9.tar.gz blt-736fd973a10126328161a31161812ceab39e55d9.tar.bz2 |
simplify wcs code
Diffstat (limited to 'tksao/util')
-rw-r--r-- | tksao/util/util.C | 16 | ||||
-rw-r--r-- | tksao/util/util.h | 2 |
2 files changed, 0 insertions, 18 deletions
diff --git a/tksao/util/util.C b/tksao/util/util.C index ba34dab..ec278aa 100644 --- a/tksao/util/util.C +++ b/tksao/util/util.C @@ -161,22 +161,6 @@ double radToDeg(double aa) return 180.*aa/M_PI; } -Vector radToDeg(const Vector& vv) -{ - Vector out = vv; - out[0] *= 180./M_PI; - out[1] *= 180./M_PI; - return out; -} - -Vector3d radToDeg(const Vector3d& vv) -{ - Vector3d out = vv; - out[0] *= 180./M_PI; - out[1] *= 180./M_PI; - return out; -} - double degToRad(double aa) { return M_PI*aa/180.; diff --git a/tksao/util/util.h b/tksao/util/util.h index 5a9a1fa..13a1e8a 100644 --- a/tksao/util/util.h +++ b/tksao/util/util.h @@ -94,11 +94,9 @@ extern double radToDeg(double); extern Vector zeroTWOPI(const Vector&); extern Vector degToRad(const Vector&); -extern Vector radToDeg(const Vector&); extern Vector3d zeroTWOPI(const Vector3d&); extern Vector3d degToRad(const Vector3d&); -extern Vector3d radToDeg(const Vector3d&); extern int parseSection(char*, Vector*, Vector*); |