Skip to content

Commit a73d3e7

Browse files
committed
Revert "[irtgeo.l face-to-tessel-triangle] fix epsilon"
This reverts commit 42393da.
1 parent 54a99f1 commit a73d3e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

irteus/irtgeo.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,10 @@
396396
;; input face should be simple. see
397397
;; Make Simple function in Triangulatio by Ear Clipping by David Eberly
398398
;; http://www.geometrictools.com/Documentation/TriangulationByEarClipping.pdf
399-
(defun face-to-tessel-triangle (f num &optional (*epsilon* 1e-15))
399+
(defun face-to-tessel-triangle (f num &optional (*epsilon* 1e-10))
400400
"return polygon if triangable, return nil if it is not."
401401
#-(or :x86_64 :aarch64)
402-
(setq *epsilon* (* 1e9 *epsilon*));; for 32bit system
402+
(setq *epsilon* (* 10000.0 *epsilon*));; for 32bit system
403403
(let* ((vers (send f :vertices))
404404
(len (length (cdr vers)))
405405
(v0 (nth (mod (1- (+ num len)) len) vers)) ;; num - 1 th

0 commit comments

Comments
 (0)