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
@@ -119,8 +119,8 @@ impl Transformable for Insert {
|
||||
}
|
||||
}
|
||||
|
||||
impl crate::entities::traits::LegacyTess for Insert {
|
||||
fn legacy_geometry(&self, world_offset: [f64; 3]) -> crate::scene::tess_util::LegacyGeometry {
|
||||
impl crate::entities::traits::FallbackTess for Insert {
|
||||
fn fallback_geometry(&self, world_offset: [f64; 3]) -> crate::scene::tess_util::FallbackGeometry {
|
||||
let [ox, oy, oz] = world_offset;
|
||||
let ip = Vec3::new(
|
||||
(self.insert_point.x - ox) as f32,
|
||||
|
||||
Reference in new issue
Block a user