ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/triangulate.c
(Generate patch)

Comparing ray/src/common/triangulate.c (file contents):
Revision 2.6 by greg, Mon Apr 19 19:40:03 2021 UTC vs.
Revision 2.7 by greg, Mon Apr 19 20:37:04 2021 UTC

# Line 53 | Line 53 | polySnip(const Vert2_list *contour, int u, int v, int
53  
54    cross = ((Bx - Ax)*(Cy - Ay)) - ((By - Ay)*(Cx - Ax));
55    if (cross < EPSILON)
56 <        return cross < -EPSILON ? -1 : false; /* Negative if colinear points */
56 >        return cross > -EPSILON ? -1 : false; /* Negative if colinear points */
57  
58    for (p=0;p<n;p++)
59    {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines