|
var nodeContainment = ContainmentType.Intersects; |
|
var nodeBounds = new BoundingBox(new Vector3(node.bounds.X, node.bounds.Y, node.value.MinHeight), |
|
new Vector3(node.bounds.X + node.bounds.Width, node.bounds.Y + node.bounds.Height, node.value.MaxHeight)); |
|
|
|
boundingFrustum.Contains(ref boundingBox, out nodeContainment); |
boundingFrustum.Contains(ref nodeBounds, out nodeContainment);
Engine-Nine/Source/Nine/QuadTreeSceneManager.cs
Lines 493 to 497 in ab314ac