mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 15:40:32 -04:00
Carve is a C++ library designed to perform boolean operations between two arbitrary polygonal meshes. The standard union and intersection operations are supported, as are symmetric and asymmetric difference. It is also possible to implement custom operations using Carve, allowing results to be formed from any combination of inputs. Carve supports a variety of inputs, including both closed and open surfaces, faces with arbitrary edge counts and datasets with multiple disjoint, embedded or touching surfaces. Carve can also interpolate arbitrary values across faces, meaning that CSG operations need not discard colour, texture coordinates or other data. WWW: http://code.google.com/p/carve/
10 lines
387 B
C++
10 lines
387 B
C++
--- lib/intersect_classify_common_impl.hpp.orig 2011-12-06 12:41:50.000000000 +0100
|
|
+++ lib/intersect_classify_common_impl.hpp 2011-12-06 12:41:59.000000000 +0100
|
|
@@ -250,6 +250,7 @@
|
|
std::cerr << "d = " << d << std::endl;
|
|
#endif
|
|
fc = d < 0 ? FACE_IN : FACE_OUT;
|
|
+ break;
|
|
}
|
|
default:
|
|
CARVE_FAIL("unhandled switch case -- should not happen");
|