Skip to content

Commit 57bfbfb

Browse files
authored
Merge pull request #422 from chuongmep/fix_json
Fix bug DeserializeObject boundingbox exception
2 parents 8eb033d + a7b42a2 commit 57bfbfb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/GShark/Geometry/BoundingBox.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ namespace GShark.Geometry
1111
/// </summary>
1212
public class BoundingBox
1313
{
14+
/// <summary>
15+
/// Constructs a new bounding box with a default transform and extents of (-100, -100, -100) to (100, 100, 100).
16+
/// </summary>
17+
public BoundingBox()
18+
{
19+
Min = new Point3(-100, -100, -100);
20+
Max = new Point3(100, 100, 100);
21+
}
1422
/// <summary>
1523
/// Constructs a new bounding box from two corner points.
1624
/// </summary>

0 commit comments

Comments
 (0)