/// <summary> /// Gets the nodes contained into the specified frustum /// </summary> /// <param name="frustum">Bounding frustum</param> /// <returns>Returns the nodes contained into the frustum</returns> public IEnumerable <QuadTreeNode <T> > GetNodesInVolume(ref BoundingFrustum frustum) { Stopwatch w = Stopwatch.StartNew(); try { return(this.Root.GetNodesInVolume(ref frustum)); } finally { w.Stop(); Counters.AddVolumeFrustumTest((float)w.Elapsed.TotalSeconds); } }