Skip to content

Commit

Permalink
Added comment to new exported function rtree.Size
Browse files Browse the repository at this point in the history
  • Loading branch information
Implausiblyfun committed Mar 23, 2019
1 parent 5622f7a commit ef2afe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions collision/rtree.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type Rtree struct {
height int
}

// Size returns the rtree's size
func (tree *Rtree) Size() int {
return tree.size
}
Expand Down

0 comments on commit ef2afe5

Please sign in to comment.