add cubetree defect display.
This commit is contained in:
+1
-1
@@ -183,7 +183,7 @@ namespace Sample.Disp
|
||||
tris.Add(new Tri3d(new Vec3d(i, 0, 0), new Vec3d(i + 1, 0, 0), new Vec3d(i + 0.5, 0, 1)));
|
||||
|
||||
Drawing faceDraw = tris.GetFaceDrawing();
|
||||
Drawing linesDraw = tris.GetLineDrawing();
|
||||
Drawing linesDraw = tris.ToLineDrawing();
|
||||
|
||||
DemoUtil.RunApplication("DrawTri3d",
|
||||
new DispList(new RgbTreat(0, 0, 1), linesDraw
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
using Hi.Geom;
|
||||
using Hi.Geom;
|
||||
using Hi.Disp;
|
||||
using Hi.Native;
|
||||
|
||||
@@ -31,12 +31,12 @@ namespace Sample.Disp
|
||||
dst.Expand(new Vec3d(1, 1, 1));
|
||||
}
|
||||
/// <inheritdoc/>
|
||||
public override void OnMouseEnter(ui_event_type e, panel_state_t state)
|
||||
public override void OnMouseEnter(ui_event_type e, DispEngine dispEngine)
|
||||
{
|
||||
isMouseOver = true;
|
||||
}
|
||||
/// <inheritdoc/>
|
||||
public override void OnMouseLeave(ui_event_type e, panel_state_t state)
|
||||
public override void OnMouseLeave(ui_event_type e, DispEngine dispEngine)
|
||||
{
|
||||
isMouseOver = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user