forked from 1b-agent/opencadstudio-upstream
refactor(tess): rename LegacyTess → FallbackTess
The trait isn't deprecating anything — it carries the path entities take when they're not covered by the truck topology pipeline (Viewport, Insert, Hatch outline, Ole2Frame). "Fallback" names the purpose; "Legacy" implied retirement that isn't actually on the roadmap. Same rename for LegacyGeometry → FallbackGeometry, legacy_geometry() → fallback_geometry(). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
1 parent
aadb64860d
commit
b413fe0efe
8 files changed
+35
-36
No files matched your search
@@ -10,14 +10,13 @@ use glam::Vec3;
|
||||
|
||||
use crate::scene::wire_model::{SnapHint, TangentGeom, WireModel};
|
||||
|
||||
/// Output of the legacy per-entity geometry path used by entities not
|
||||
/// (yet) covered by the truck topology pipeline (Viewport, Insert,
|
||||
/// Hatch outline, Ole2Frame, …). Tuple form preserved to avoid
|
||||
/// touching every callsite when the dispatcher wraps these into a
|
||||
/// WireModel.
|
||||
/// Output of the fallback per-entity geometry path used by entities not
|
||||
/// covered by the truck topology pipeline (Viewport, Insert, Hatch
|
||||
/// outline, Ole2Frame). Tuple form preserved to avoid touching every
|
||||
/// callsite when the dispatcher wraps these into a WireModel.
|
||||
///
|
||||
/// Layout: `(points, snap_pts, tangent_geoms, key_vertices)`.
|
||||
pub type LegacyGeometry = (
|
||||
pub type FallbackGeometry = (
|
||||
Vec<[f32; 3]>,
|
||||
Vec<(Vec3, SnapHint)>,
|
||||
Vec<TangentGeom>,
|
||||
|
||||
Reference in new issue
Block a user