summaryrefslogtreecommitdiffstats
path: root/tksao/vector/vector.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/vector/vector.C')
-rw-r--r--tksao/vector/vector.C23
1 files changed, 0 insertions, 23 deletions
diff --git a/tksao/vector/vector.C b/tksao/vector/vector.C
index 45832ac..194aca5 100644
--- a/tksao/vector/vector.C
+++ b/tksao/vector/vector.C
@@ -7,7 +7,6 @@
#include "vector.h"
#include "vector3d.h"
#include "fuzzy.h"
-#include "util.h"
// Vector::manip
@@ -45,28 +44,6 @@ Vector& Vector::clip(const BBox& bb)
return *this;
}
-Vector& Vector::radToDeg()
-{
- // we want the first coord to be 0-360
- v[0] = ::radToDeg(v[0]);
- v[1] *= 180./M_PI;
- return *this;
-}
-
-Vector& Vector::degToRad()
-{
- v[0] *= M_PI/180.;
- v[1] *= M_PI/180.;
- return *this;
-}
-
-Vector& Vector::zeroTWOPI()
-{
- // we want the first coord to be 0-2Pi
- v[0] = ::zeroTWOPI(v[0]);
- return *this;
-}
-
Vector Vector::TkCanvasPs(void* canvas)
{
return Vector(v[0], Tk_CanvasPsY((Tk_Canvas)canvas, v[1]));