fix: replace /* ... */ with // ... in doxygen code blocks to prevent premature comment termination
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 1m31s

This commit is contained in:
茂之钳
2026-07-24 11:12:49 +00:00
parent ac4c4300ed
commit fba37f7065
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ struct GltfOptions {
* @note 生成的 glTF 符合 2.0 规范,兼容 Blender、three.js、Unreal Engine 等工具
*
* @code{.cpp}
* mesh::HalfedgeMesh mesh = /* ... */;
* mesh::HalfedgeMesh mesh = // ...;
* GltfOptions opts;
* opts.binary = true;
* opts.include_normals = true;
@@ -69,7 +69,7 @@ bool write_gltf(const std::string& filepath, const mesh::HalfedgeMesh& mesh,
* @return false 导出失败
*
* @code{.cpp}
* brep::BrepModel model = /* ... */;
* brep::BrepModel model = // ...;
* // 高精度曲面导出
* bool ok = write_brep_gltf("model.glb", model, 64);
* @endcode
+1 -1
View File
@@ -43,7 +43,7 @@ mesh::HalfedgeMesh read_ply(const std::string& filepath);
* @note 若需要二进制输出以提高性能,请使用 BinarySerializer
*
* @code{.cpp}
* mesh::HalfedgeMesh mesh = /* ... */;
* mesh::HalfedgeMesh mesh = // ...;
* write_ply("output.ply", mesh);
* @endcode
*
+2 -2
View File
@@ -57,7 +57,7 @@ std::vector<StlTriangle> read_stl(const std::string& filepath);
* @note 法向量在写入时自动归一化
*
* @code{.cpp}
* std::vector<StlTriangle> tris = /* ... */;
* std::vector<StlTriangle> tris = // ...;
* write_stl("output.stl", tris); // 二进制,体积小
* @endcode
*
@@ -77,7 +77,7 @@ void write_stl(const std::string& filepath, const std::vector<StlTriangle>& tris
* @warning ASCII STL 文件体积约为二进制 STL 的 5-10 倍,不适合大规模网格
*
* @code{.cpp}
* std::vector<StlTriangle> tris = /* ... */;
* std::vector<StlTriangle> tris = // ...;
* write_stl_ascii("debug.stl", tris); // 可读文本,便于调试
* @endcode
*