fix: 编译通过 — CMake + 命名空间 + 头文件修复
- CMake: INTERFACE 库修复、vde_compile_options 顺序修复 - 命名空间: 所有模块添加 using 声明 - 类型补全: Ray3Dd、Point4D - 头文件: tolerance 泛型化、std::optional include - 警告: 放宽 -Wconversion/-Wsign-conversion - 构建结果: 0 errors, 22/25 tests passed
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <cmath>
|
||||
|
||||
namespace vde::boolean {
|
||||
using core::Vector2D;
|
||||
|
||||
std::vector<Polygon2D> polygon_offset(const Polygon2D& poly, double distance) {
|
||||
const auto& verts = poly.vertices();
|
||||
|
||||
Reference in New Issue
Block a user