summaryrefslogtreecommitdiff
path: root/Thronefall/NGS.MeshFusionPro/IBinaryTreeNode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall/NGS.MeshFusionPro/IBinaryTreeNode.cs')
-rw-r--r--Thronefall/NGS.MeshFusionPro/IBinaryTreeNode.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Thronefall/NGS.MeshFusionPro/IBinaryTreeNode.cs b/Thronefall/NGS.MeshFusionPro/IBinaryTreeNode.cs
new file mode 100644
index 0000000..c25beae
--- /dev/null
+++ b/Thronefall/NGS.MeshFusionPro/IBinaryTreeNode.cs
@@ -0,0 +1,20 @@
+using UnityEngine;
+
+namespace NGS.MeshFusionPro;
+
+public interface IBinaryTreeNode
+{
+ Vector3 Center { get; }
+
+ Vector3 Size { get; }
+
+ Bounds Bounds { get; }
+
+ bool HasChilds { get; }
+
+ bool IsLeaf { get; }
+
+ IBinaryTreeNode GetLeft();
+
+ IBinaryTreeNode GetRight();
+}