Skip to content

Commit

Permalink
Merge pull request #422 from chuongmep/fix_json
Browse files Browse the repository at this point in the history
Fix bug DeserializeObject boundingbox exception
  • Loading branch information
d3ssy committed Aug 7, 2023
2 parents 8eb033d + a7b42a2 commit 57bfbfb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/GShark/Geometry/BoundingBox.cs
Expand Up @@ -11,6 +11,14 @@ namespace GShark.Geometry
/// </summary>
public class BoundingBox
{
/// <summary>
/// Constructs a new bounding box with a default transform and extents of (-100, -100, -100) to (100, 100, 100).
/// </summary>
public BoundingBox()
{
Min = new Point3(-100, -100, -100);
Max = new Point3(100, 100, 100);
}
/// <summary>
/// Constructs a new bounding box from two corner points.
/// </summary>
Expand Down

0 comments on commit 57bfbfb

Please sign in to comment.