fix: replace /* ... */ with // ... in doxygen code blocks to prevent premature comment termination
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user