solvespace/src/srf
whitequark fa66229030 Fix choice of normal for revolution in some corner cases.
Before this commit, if the sketch contain no entities with starting
points off of the axis of revolution, the revolution may fail, which
manifests as the face normals being inverted. The code at the top of
MakeFromRevolutionOf() takes the furthest point from the axis,
projects it on that axis to get a vector. In this case that vector
is essentially zero length except for rounding errors.

After this commit, instead of only considering start points of
beziers, all control points are considered.

Fix by @phkahler.
2019-04-22 11:50:47 +00:00
..
boolean.cpp Reserve space upfront when possible, to avoid re-allocations. 2017-01-14 03:07:33 +00:00
curve.cpp Add an option to display areas of closed contours. 2017-04-08 16:43:06 +00:00
merge.cpp Annotate constants passed as boolean function arguments. 2016-05-26 12:43:52 +00:00
ratpoly.cpp Misc. typos 2018-09-19 18:52:11 +00:00
raycast.cpp Annotate constants passed as boolean function arguments. 2016-05-26 12:43:52 +00:00
surface.cpp Fix choice of normal for revolution in some corner cases. 2019-04-22 11:50:47 +00:00
surface.h Clean up includes and include guards. 2018-07-12 18:48:51 +00:00
surfinter.cpp Annotate constants passed as boolean function arguments. 2016-05-26 12:43:52 +00:00
triangulate.cpp Implement SPolygon::TriangulateInto. 2016-08-01 00:48:37 +00:00