Overview
| Artifact ID: | 1a48407e56cca758dc8610efb112d673e614ddce |
|---|---|
| Ticket: | 608559ffffffffffffffffffffffffffffffffff
ptr smash start error / wish exit / windows |
| User & Date: | dkf on 2002-09-13 15:46:47 |
Changes
- assignee changed to: "dkf"
- closedate changed to: "2002-09-13T08:46:47"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 That's a really strange comparison routine; it doesn't even work. The one below does though (and is much faster too) so I suspect we've got a case of "pilot error". (And I don't see a crash on IRIX anyway.) proc compareView {polygon1 polygon2} { set x1 0.0 foreach point [lrange $polygon1 3 end] { foreach {dummy px py pz} $point {break} set x1 [expr {$x1+$px}] } set x2 0.0 foreach point [lrange $polygon2 3 end] { foreach {dummy px py pz} $point {break} set x2 [expr {$x2+$px}] } if {$x1<$x2} { return 1 } elseif {$x1>$x2} { return -1 } else { return 0 } } - login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- subsystem changed to: "69. Other"
- username: "dkf"