diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-09-01 19:03:42 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-09-01 19:03:42 (GMT) |
commit | dd509055091e6dbb4cec991b5179aa979c699ad5 (patch) | |
tree | c65b8fc813e86242241bec10797dfd8bd2f3d252 /tksao/util | |
parent | f800ebd8b9ccb3603008f83fb07391110bf7b5ed (diff) | |
download | blt-dd509055091e6dbb4cec991b5179aa979c699ad5.zip blt-dd509055091e6dbb4cec991b5179aa979c699ad5.tar.gz blt-dd509055091e6dbb4cec991b5179aa979c699ad5.tar.bz2 |
new AST support
Diffstat (limited to 'tksao/util')
-rw-r--r-- | tksao/util/util.C | 2 | ||||
-rw-r--r-- | tksao/util/util.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tksao/util/util.C b/tksao/util/util.C index 9f4decd..800b9da 100644 --- a/tksao/util/util.C +++ b/tksao/util/util.C @@ -449,6 +449,7 @@ int dCompare(const void* a, const void* b) return 0; } +#ifndef NEWWCS Vector mapLen(const Vector& v, const Matrix& mx) { // remove translation @@ -462,6 +463,7 @@ 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 4180bff..7b91e6a 100644 --- a/tksao/util/util.h +++ b/tksao/util/util.h @@ -120,6 +120,8 @@ 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 |