forked from 1b-agent/opencadstudio-upstream
feat(scene): integrate standard DWG data
This commit is contained in:
1 parent
731df4a725
commit
eb23715605
38 files changed
+8376
-618
No files matched your search
@@ -1723,7 +1723,8 @@ fn solid_wire_fallback(entity: &EntityType) -> Vec<[f64; 3]> {
|
||||
continue;
|
||||
}
|
||||
for v in &wire.points {
|
||||
pts.push([v.x, v.y, v.z]);
|
||||
let transformed = crate::entities::solid3d::wire_point(wire, v);
|
||||
pts.push([transformed.x, transformed.y, transformed.z]);
|
||||
}
|
||||
// NaN sentinel separates distinct wire segments.
|
||||
pts.push([f64::NAN, f64::NAN, f64::NAN]);
|
||||
|
||||
Reference in new issue
Block a user