forked from 1b-agent/opencadstudio-upstream
refactor(render): unify scene rendering paths
Route model, paper, viewport and nested block content through one traversal while preserving leaf renderers. Carry decoded material state into mesh shading and harden solid geometry conversion.
This commit is contained in:
1 parent
afc94dce13
commit
b667eeeb05
17 files changed
+2228
-1881
No files matched your search
@@ -84,8 +84,8 @@ pub enum CurvedGen {
|
||||
phi_min: f32,
|
||||
phi_max: f32,
|
||||
},
|
||||
/// Torus: the two extreme circles of the tube (outer/inner), clipped to the
|
||||
/// revolution window the face covers.
|
||||
/// Torus: view-dependent tube silhouette, clipped to both parametric
|
||||
/// windows the face covers.
|
||||
Torus {
|
||||
center: [f32; 3],
|
||||
center_low: [f32; 3],
|
||||
@@ -97,6 +97,9 @@ pub enum CurvedGen {
|
||||
phi_min: f32,
|
||||
phi_span: f32,
|
||||
full: bool,
|
||||
theta_min: f32,
|
||||
theta_span: f32,
|
||||
theta_full: bool,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user