We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54a99f1 commit a73d3e7Copy full SHA for a73d3e7
irteus/irtgeo.l
@@ -396,10 +396,10 @@
396
;; input face should be simple. see
397
;; Make Simple function in Triangulatio by Ear Clipping by David Eberly
398
;; http://www.geometrictools.com/Documentation/TriangulationByEarClipping.pdf
399
-(defun face-to-tessel-triangle (f num &optional (*epsilon* 1e-15))
+(defun face-to-tessel-triangle (f num &optional (*epsilon* 1e-10))
400
"return polygon if triangable, return nil if it is not."
401
#-(or :x86_64 :aarch64)
402
- (setq *epsilon* (* 1e9 *epsilon*));; for 32bit system
+ (setq *epsilon* (* 10000.0 *epsilon*));; for 32bit system
403
(let* ((vers (send f :vertices))
404
(len (length (cdr vers)))
405
(v0 (nth (mod (1- (+ num len)) len) vers)) ;; num - 1 th
0 commit comments