summaryrefslogtreecommitdiffstats
path: root/virtual-programs
diff options
context:
space:
mode:
Diffstat (limited to 'virtual-programs')
-rw-r--r--virtual-programs/regions.folk3
1 files changed, 0 insertions, 3 deletions
diff --git a/virtual-programs/regions.folk b/virtual-programs/regions.folk
index 1702bbfa..8f320b42 100644
--- a/virtual-programs/regions.folk
+++ b/virtual-programs/regions.folk
@@ -1,5 +1,4 @@
namespace eval ::vec2 {
- namespace import ::tcl::mathop::+ ::tcl::mathop::- ::tcl::mathop::*
proc add {a b} {
list [+ [lindex $a 0] [lindex $b 0]] [+ [lindex $a 1] [lindex $b 1]]
}
@@ -21,8 +20,6 @@ namespace eval ::vec2 {
proc dot {a b} {
expr {[lindex $a 0]*[lindex $b 0] + [lindex $a 1]*[lindex $b 1]}
}
- namespace import ::tcl::mathfunc::max ::tcl::mathfunc::min
- namespace import ::tcl::mathop::/
proc distanceToLineSegment {a v w} {
set l2 [vec2 distance $v $w]
if {$l2 == 0.0} {