Blender Git Loki
Git Commits -> Revision 178dc73
Revision 178dc73 by Ken Hughes (master) July 12, 2007, 15:24 (GMT) |
Tools ----- More improvements to boolean tools. The main change (although very little in code) is changing fuzzy comparisons of floating point values. For testing, a new define is added in intern/boolop/intern/BOP_MathUtils.h called VAR_EPSILON, which enables better comparisons. This is turned on by default; undefining it will revert to using the previous comparisons. The downside of these new comparisons is a loss in speed, but the resulting meshes are more likely to be manifold (although still not always). The other changes include speed improvements based on profiling results and fixes for the improper creation of triangular faces with only two vertices. |
Commit Details:
Full Hash: 178dc730845f207c0122db1252545d25b91b8a89
SVN Revision: 11244
Parent Commit: e19519e
Lines Changed: +194, -136
8 Modified Paths:
/intern/boolop/intern/BOP_Face.cpp (+10, -0) (Diff)
/intern/boolop/intern/BOP_Face.h (+12, -1) (Diff)
/intern/boolop/intern/BOP_Face2Face.cpp (+41, -70) (Diff)
/intern/boolop/intern/BOP_MathUtils.cpp (+48, -8) (Diff)
/intern/boolop/intern/BOP_MathUtils.h (+13, -3) (Diff)
/intern/boolop/intern/BOP_Merge.cpp (+0, -26) (Diff)
/intern/boolop/intern/BOP_Mesh.cpp (+30, -15) (Diff)
/intern/boolop/intern/BOP_Triangulator.cpp (+40, -13) (Diff)
/intern/boolop/intern/BOP_Face.h (+12, -1) (Diff)
/intern/boolop/intern/BOP_Face2Face.cpp (+41, -70) (Diff)
/intern/boolop/intern/BOP_MathUtils.cpp (+48, -8) (Diff)
/intern/boolop/intern/BOP_MathUtils.h (+13, -3) (Diff)
/intern/boolop/intern/BOP_Merge.cpp (+0, -26) (Diff)
/intern/boolop/intern/BOP_Mesh.cpp (+30, -15) (Diff)
/intern/boolop/intern/BOP_Triangulator.cpp (+40, -13) (Diff)