v0.1.0: 初始工程骨架 — 7模块 40头文件 32源文件 17文档 Apache-2.0
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "vde/foundation/math_types.h"
|
||||
|
||||
namespace vde::foundation {
|
||||
|
||||
struct StlTriangle {
|
||||
Vector3D normal;
|
||||
Point3D v0, v1, v2;
|
||||
};
|
||||
|
||||
std::vector<StlTriangle> read_stl(const std::string& filepath);
|
||||
void write_stl(const std::string& filepath, const std::vector<StlTriangle>& tris);
|
||||
|
||||
} // namespace vde::foundation
|
||||
Reference in New Issue
Block a user