public void BuildBVH() { var nodes = new List <BasePathNode>(); if (Portals != null) { nodes.AddRange(Portals); } if (Points != null) { nodes.AddRange(Points); } BVH = new PathBVH(nodes, 10, 10); }
public void BuildBVH() { BVH = new PathBVH(Nodes, 10, 10); }