Files
ViewDesignEngine/docs/feedback/VDE-015.md
T
hm 41d33bbbc2
CI / Build & Test (push) Failing after 16m55s
CI / Release Build (push) Failing after 33s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
docs: add VDE-014/015/016 + update overview (7 fixed, 3 new, 1 P0 remaining)
2026-07-27 23:12:30 +08:00

848 B

id, status, severity, category, date, reporter
id status severity category date reporter
VDE-015 open medium bug 2026-07-27 ViewDesign

VDE-015: StlTrianglef 中 Vector3F / Point3F 拼写错误

问题描述

io_stl.hStlTrianglef 结构体使用了 Vector3FPoint3F,但 math_types.h 中定义的类型是 Vector3fPoint3f(小写 f):

// io_stl.h:126-128 — 当前(错误)
struct StlTrianglef {
    Vector3F normal;  // 应为 Vector3f
    Point3F  v0, v1, v2;  // 应为 Point3f
};

编译错误

error: 'Vector3F' does not name a type
error: 'Point3F' does not name a type
error: 'Vector3F' is not a member of 'vde::foundation'
error: 'Point3F' is not a member of 'vde::foundation'

建议修复

改为正确的大小写:

struct StlTrianglef {
    Vector3f normal;
    Point3f  v0, v1, v2;
};