From 980cb32468ff12bd375863d22b140404e74618de 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 11:14:27 +0000 Subject: [PATCH] fix: remove remaining /* ... */ inside doxygen blocks --- include/vde/brep/modeling.h | 4 ++-- include/vde/core/convex_hull.h | 2 +- include/vde/core/polygon.h | 2 +- include/vde/sdf/sdf_optimize.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/vde/brep/modeling.h b/include/vde/brep/modeling.h index d53be43..316f330 100644 --- a/include/vde/brep/modeling.h +++ b/include/vde/brep/modeling.h @@ -20,7 +20,7 @@ * @code{.cpp} * auto body = make_box(10, 5, 3); * // 或者更复杂的构建: - * auto profile = /* NURBS 曲线 */; + * auto profile = NURBS 曲线; * auto swept = extrude(profile, Vector3D(0, 0, 10)); * auto rounded = fillet(swept, 0, 2.0); * @endcode @@ -78,7 +78,7 @@ using core::AABB3D; * * @code{.cpp} * // 绕 Y 轴旋转半圆,生成球体的一半 - * NurbsCurve semicircle = /* 在 XZ 平面中的半圆弧 */; + * NurbsCurve semicircle = 在 XZ 平面中的半圆弧; * auto half_sphere = revolve(semicircle, Point3D(0,0,0), * Vector3D(0,1,0), M_PI); * @endcode diff --git a/include/vde/core/convex_hull.h b/include/vde/core/convex_hull.h index c90095a..7677676 100644 --- a/include/vde/core/convex_hull.h +++ b/include/vde/core/convex_hull.h @@ -41,7 +41,7 @@ std::vector convex_hull_2d(const std::vector& points); * @note 共面/退化点被自动丢弃 * * @code{.cpp} - * std::vector pts = /* 3D 点云 */; + * std::vector pts = 3D 点云; * auto hull_tris = convex_hull_3d(pts); * for (auto& tri : hull_tris) { * // tri = {p0, p1, p2} — CCW when viewed from outside diff --git a/include/vde/core/polygon.h b/include/vde/core/polygon.h index 4448068..5174312 100644 --- a/include/vde/core/polygon.h +++ b/include/vde/core/polygon.h @@ -131,7 +131,7 @@ public: * @note 时间复杂度 O(n²),适用于顶点数 < 1000 的多边形 * * @code{.cpp} - * Polygon2D poly(/* CCW vertices */); + * Polygon2D poly(CCW vertices); * auto tris = poly.triangulate(); * for (auto& t : tris) { * // 顶点: poly.vertices()[t[0]], t[1], t[2] diff --git a/include/vde/sdf/sdf_optimize.h b/include/vde/sdf/sdf_optimize.h index d6a7fdd..0ef84d4 100644 --- a/include/vde/sdf/sdf_optimize.h +++ b/include/vde/sdf/sdf_optimize.h @@ -87,7 +87,7 @@ using LossFn = std::function& * @note initial 的共享子节点不会被复制——返回的 optimize_shape 共享未修改的子树。 * * @code{.cpp} - * std::vector points = { /* point cloud data */ }; + * std::vector points = { point cloud data }; * auto sphere = SdfNode::sphere(1.0); * auto result = fit_to_point_cloud(sphere, points, 0.01, 200); * // result.optimized_shape 的 params.radius 已被优化