增加test

This commit is contained in:
knight0zh
2022-08-16 15:42:04 +08:00
parent cf230fab81
commit c04856847f
3 changed files with 78 additions and 6 deletions

View File

@@ -113,7 +113,7 @@ func (n *Node) cutNode() {
n.Entities = nil
}
func NewQuadTree(xStart, yStart, width float64, opts ...QuadOption) *QuadTree {
func NewQuadTree(xStart, yStart, width float64, opts ...QuadOption) AOI {
basicNode := &Node{
Leaf: true,
Deep: 1,