diff --git a/examples/08_3d_print/main.cpp b/examples/08_3d_print/main.cpp index 20fe736..cd406f9 100644 --- a/examples/08_3d_print/main.cpp +++ b/examples/08_3d_print/main.cpp @@ -24,7 +24,6 @@ using namespace vde::foundation; // ── helpers ── /// Compute approximate volume via divergence theorem (loop over faces) -static double compute_volume(const HalfedgeMesh& m) { double vol = 0.0; for (size_t fi = 0; fi < m.num_faces(); ++fi) { auto verts = m.face_vertices(fi); @@ -112,7 +111,6 @@ int main() { std::cout << " vertices: " << mesh.num_vertices() << "\n" << " faces: " << mesh.num_faces() << "\n" << " edges: " << mesh.num_edges() << "\n" - << " volume: " << compute_volume(mesh) << " (approx)\n" << " bounding box:\n" << " min: (" << bb.min().x() << ", " << bb.min().y() << ", " << bb.min().z() << ")\n" << " max: (" << bb.max().x() << ", " << bb.max().y() << ", " << bb.max().z() << ")\n"