mirror of
https://github.com/knight0zh/aoi.git
synced 2026-02-03 23:55:09 +08:00
增加test
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user