summaryrefslogtreecommitdiff
path: root/common/object.cpp
diff options
context:
space:
mode:
authorleo2006-03-02 18:29:08 +0000
committerleo2006-03-02 18:29:08 +0000
commitb18cb77e8c9acf8c1d5ee351477e8adb4ffbae9f (patch)
treea8dc6089f661b0d099bfc095c64a7e423e413ca2 /common/object.cpp
parentb7c522acf840dd211e54141f1dbda5b5c268971e (diff)
Removed a few old math functions.
git-svn-id: http://svn.leocad.org/trunk@504 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/object.cpp')
-rwxr-xr-xcommon/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/object.cpp b/common/object.cpp
index 489ad12..1b8a91c 100755
--- a/common/object.cpp
+++ b/common/object.cpp
@@ -46,7 +46,7 @@ double LC_CLICKLINE::PointDistance (float *point)
else
t /= len;
- d.Scale (t*len);
+ d *= (t*len);
op -= d;
}