From 6d89f97dfcae7155cd8e435e6a8c7f60e4e42935 Mon Sep 17 00:00:00 2001 From: iambossTC Date: Sun, 25 May 2025 14:11:43 +0800 Subject: [PATCH] tune clstrip lock. --- Disp/DemoDiscreteRgb.cs | 6 +++--- Disp/DemoPick1.cs | 2 +- Disp/DemoPick2.cs | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Disp/DemoDiscreteRgb.cs b/Disp/DemoDiscreteRgb.cs index 0d8c833..adf3fb7 100644 --- a/Disp/DemoDiscreteRgb.cs +++ b/Disp/DemoDiscreteRgb.cs @@ -19,13 +19,13 @@ namespace Sample.Disp /// public void Display(Bind bind) { - bind.RGB = ColorUtil.GetDiscreteRGB_Env(); + bind.Rgb = ColorUtil.GetDiscreteRGB_Env(); new Box3d(0, 0, 0, 1, 1, 1).ToDraw_Face().Display(bind); - bind.RGB = ColorUtil.GetDiscreteRGB_Env(); + bind.Rgb = ColorUtil.GetDiscreteRGB_Env(); new Box3d(1, 0, 0, 2, 1, 1).ToDraw_Face().Display(bind); - bind.RGB = ColorUtil.GetDiscreteRGB_Env(); + bind.Rgb = ColorUtil.GetDiscreteRGB_Env(); new Box3d(2, 0, 0, 3, 1, 1).ToDraw_Face().Display(bind); } /// diff --git a/Disp/DemoPick1.cs b/Disp/DemoPick1.cs index 5ed4328..4139143 100644 --- a/Disp/DemoPick1.cs +++ b/Disp/DemoPick1.cs @@ -20,7 +20,7 @@ namespace Sample.Disp public void Display(Bind bind) { bind.PickID = PickingID; - bind.RGB = new Vec3d(isMouseOver ? 0 : 1, 1, 1); + bind.Rgb = new Vec3d(isMouseOver ? 0 : 1, 1, 1); new Box3d(0, 0, 0, 1, 1, 1).DisplayFace(bind); bind.PickID = 0; } diff --git a/Disp/DemoPick2.cs b/Disp/DemoPick2.cs index f89cfa7..8d3f197 100644 --- a/Disp/DemoPick2.cs +++ b/Disp/DemoPick2.cs @@ -23,15 +23,15 @@ namespace Sample.Disp public void Display(Bind bind) { bind.PickID = pickableA.PickingID; - bind.RGB = ColorUtil.GetDiscreteRgb(1); + bind.Rgb = ColorUtil.GetDiscreteRgb(1); new Box3d(0, 0, 0, 1, 1, 1).DisplayFace(bind); bind.PickID = pickableB.PickingID; - bind.RGB = ColorUtil.GetDiscreteRgb(2); + bind.Rgb = ColorUtil.GetDiscreteRgb(2); new Box3d(0, 0, 1, 1, 1, 2).DisplayFace(bind); bind.PickID = pickableC.PickingID; - bind.RGB = ColorUtil.GetDiscreteRgb(3); + bind.Rgb = ColorUtil.GetDiscreteRgb(3); new Box3d(0, 0, 2, 1, 1, 3).DisplayFace(bind); bind.PickID = 0;