summaryrefslogtreecommitdiffstats
path: root/tksao/util
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-07-27 18:51:39 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-07-27 18:51:39 (GMT)
commit441ca548972a90b4495c9602214afaec13c6380d (patch)
treecb73e9a850398841659fd599db3c9518e3ecb8b1 /tksao/util
parentcf5a14e2056c195269bc1eefa7553f7389aa13cf (diff)
downloadblt-441ca548972a90b4495c9602214afaec13c6380d.zip
blt-441ca548972a90b4495c9602214afaec13c6380d.tar.gz
blt-441ca548972a90b4495c9602214afaec13c6380d.tar.bz2
simplify mapLen code
Diffstat (limited to 'tksao/util')
-rw-r--r--tksao/util/util.C2
-rw-r--r--tksao/util/util.h3
2 files changed, 0 insertions, 5 deletions
diff --git a/tksao/util/util.C b/tksao/util/util.C
index ebcd746..9351adb 100644
--- a/tksao/util/util.C
+++ b/tksao/util/util.C
@@ -520,7 +520,6 @@ int dCompare(const void* a, const void* b)
return 0;
}
-#ifndef NEWWCS
Vector mapLen(const Vector& v, const Matrix& mx)
{
// remove translation
@@ -534,7 +533,6 @@ Vector mapLen(const Vector& v, const Matrix& mx)
// all that is left is Scaling
return (v*s).abs();
}
-#endif
#if defined (MAC_OSX_TK) || (_WIN32)
diff --git a/tksao/util/util.h b/tksao/util/util.h
index 9eeb436..dc1d6bf 100644
--- a/tksao/util/util.h
+++ b/tksao/util/util.h
@@ -131,8 +131,5 @@ extern const char* psFontName(const char*, const char*, const char*);
extern int fCompare(const void*, const void*);
extern int dCompare(const void*, const void*);
-#ifndef NEWWCS
extern Vector mapLen(const Vector& v, const Matrix& mx);
#endif
-
-#endif