From 1cca3edd21ea922b793fa2e24a3a2ccb1155f9d9 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:35:40 +0000 Subject: [PATCH] fix: reduce 3d_print res to 30 to avoid OOM --- examples/08_3d_print/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/08_3d_print/main.cpp b/examples/08_3d_print/main.cpp index f97fad9..20fe736 100644 --- a/examples/08_3d_print/main.cpp +++ b/examples/08_3d_print/main.cpp @@ -91,7 +91,7 @@ int main() { const Point3D bmin(-3.0, -3.0, -3.0); const Point3D bmax( 3.0, 3.0, 3.0); - const int resolution = 40; + const int resolution = 30; auto mc = marching_cubes(shape_sdf, 0.0, bmin, bmax, resolution);