Pathfinding.PointKDTree.Add C# (CSharp) Method

Add() public method

Add the node to the tree
public Add ( GraphNode node ) : void
node GraphNode
return void
		public void Add (GraphNode node) {
			numNodes++;
			Add(node, 1);
		}

Same methods

PointKDTree::Add ( GraphNode point, int index, int depth ) : void

Usage Example

Ejemplo n.º 1
0
 void AddToLookup(PointNode node)
 {
     lookupTree.Add(node);
 }