refactor(Hi.Sample)!: Vec3d and Vec2d are named vec3d_t and vec2d_t -- the C++ typedef names, following HiGeom 43fccaf (a word-boundary identifier rename over the 14 demo files the 09-24 rename batch left behind; the repo builds against the HiGeom project reference, so it had stopped compiling)
BREAKING CHANGE: source that names Hi.Geom.Vec3d or Hi.Geom.Vec2d as the vector type must say vec3d_t / vec2d_t. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -187,9 +187,9 @@ public static class DemoBuildMachiningProject
|
||||
//geometry anchor to each mount, so the workpiece mount is placed by the
|
||||
//transformer of the branch to it: on top of the 10 mm thick fixture geom.
|
||||
Fixture fixture = Fixture.CreateDefault();
|
||||
fixture.Geom = new Box3d(new Vec3d(-40, -40, 0), new Vec3d(40, 40, 10));
|
||||
fixture.Geom = new Box3d(new vec3d_t(-40, -40, 0), new vec3d_t(40, 40, 10));
|
||||
Branch.Get(fixture.GeomAnchor, fixture.WorkpieceMount).Transformer
|
||||
= new StaticTranslation(new Vec3d(0, 0, 10));
|
||||
= new StaticTranslation(new vec3d_t(0, 0, 10));
|
||||
localProjectService.Fixture = fixture;
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user