From 45e4111ec76106c035365d964f3839d3c5b000e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=82=E4=B9=8B=E9=92=B3?= Date: Fri, 24 Jul 2026 10:40:26 +0000 Subject: [PATCH] fix: restore compute_volume function signature in 3d_print --- examples/08_3d_print/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/08_3d_print/main.cpp b/examples/08_3d_print/main.cpp index cd406f9..76e3be6 100644 --- a/examples/08_3d_print/main.cpp +++ b/examples/08_3d_print/main.cpp @@ -24,6 +24,7 @@ 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);