refactor(Hi.Sample): follow HiGeom's Box3d struct -- the demo displayees take ref Box3d and expand through Expanded, DemoSatellite scales its boxes with ScaledFromCenter, and MachiningProjectDisplayee forwards ref dst to the assembly
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -25,10 +25,10 @@ namespace Sample.Disp
|
||||
bind.PickID = 0;
|
||||
}
|
||||
/// <inheritdoc/>
|
||||
public void ExpandToBox3d(Box3d dst)
|
||||
public void ExpandToBox3d(ref Box3d dst)
|
||||
{
|
||||
dst.Expand(new vec3d_t(0, 0, 0));
|
||||
dst.Expand(new vec3d_t(1, 1, 1));
|
||||
dst = dst.Expanded(new vec3d_t(0, 0, 0));
|
||||
dst = dst.Expanded(new vec3d_t(1, 1, 1));
|
||||
}
|
||||
/// <inheritdoc/>
|
||||
public override void OnMouseEnter(ui_event_type e, DispEngine dispEngine)
|
||||
|
||||
Reference in New Issue
Block a user