CSG.Polygon assumes no collinear edges
Open
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
If you try to create a CSG.Polygon, passing in a series of vertices where the first 3 are collinear, the calculation of the plane normal will be wrong. The documentation for the function only requires that the polygon be planar and convex, not that it contain no degeneracies; either the code or the docs should change.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.