From a7b42a20d6215ba478db5ff2c23d523befe4c2a3 Mon Sep 17 00:00:00 2001 From: Chuong Ho Date: Mon, 31 Jul 2023 13:36:10 +0800 Subject: [PATCH] fix bug json realize exception --- src/GShark/Geometry/BoundingBox.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/GShark/Geometry/BoundingBox.cs b/src/GShark/Geometry/BoundingBox.cs index 3c99fe87..cd649e0f 100644 --- a/src/GShark/Geometry/BoundingBox.cs +++ b/src/GShark/Geometry/BoundingBox.cs @@ -11,6 +11,14 @@ namespace GShark.Geometry /// public class BoundingBox { + /// + /// Constructs a new bounding box with a default transform and extents of (-100, -100, -100) to (100, 100, 100). + /// + public BoundingBox() + { + Min = new Point3(-100, -100, -100); + Max = new Point3(100, 100, 100); + } /// /// Constructs a new bounding box from two corner points. ///