three-cad-viewer 5.0.1 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87612,11 +87612,14 @@ float metalnessFactor = metalness;
87612
87612
  // widen + recolor the flagged segment in-shader (Option A).
87613
87613
  this.highlight?.patchEdgeMaterial(edges.material);
87614
87614
  // Internal measurement backend: record the standalone edge node's geometry
87615
- // (obj_vertices lets the hover status resolve a picked corner's coords).
87615
+ // (obj_vertices lets the hover status resolve a picked corner's coords,
87616
+ // edge_types the exact curve type — without it every edge reads as "other"
87617
+ // and a circle/arc loses its center + radius readout).
87616
87618
  this.meshGeometry.register(path, {
87617
87619
  edges: edgeData.edges,
87618
87620
  segments_per_edge: edgeData.segments_per_edge,
87619
87621
  obj_vertices: edgeData.obj_vertices,
87622
+ edge_types: edgeData.edge_types,
87620
87623
  }, group, null);
87621
87624
  }
87622
87625
  group.setEdges(edges);
@@ -97314,7 +97317,7 @@ float metalnessFactor = metalness;
97314
97317
  }
97315
97318
  }
97316
97319
 
97317
- const version = "5.0.1";
97320
+ const version = "5.0.2";
97318
97321
 
97319
97322
  /**
97320
97323
  * `PickedComponent` over a GPU id-pick result. Drives the shader