Merge pull request #500 from adrianVmariano/master

Fix face orientation bugs
This commit is contained in:
Revar Desmera
2021-04-14 15:13:32 -07:00
committed by GitHub
9 changed files with 171 additions and 156 deletions

View File

@@ -380,7 +380,7 @@ function path_normals(path, tangents, closed=false) =
dim == 2 ? [tangents[i].y,-tangents[i].x]
: let(v=cross(cross(pts[1]-pts[0], pts[2]-pts[0]),tangents[i]))
assert(norm(v)>EPSILON, "3D path contains collinear points")
v
unit(v)
];