It seems like <= is appropriate for t, but not u

This commit is contained in:
Tony Garnock-Jones 2015-10-26 22:03:25 -04:00
parent 418a8fe0e2
commit c9f984a023
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@
(define q-p (v- q0 p0))
(define q-pxs (vcross2 q-p s))
(define t (/ q-pxs rxs))
(and (< 0 t 1)
(and (<= 0 t 1)
(let* ((q-pxr (vcross2 q-p r))
(u (/ q-pxr rxs)))
(and (< 0 u 1)