public bool InView(RMesh node) { BoundingFrustum frus = new BoundingFrustum(viewMatrix * projMatrix); BoundingSphere sphere = new BoundingSphere(); foreach(ModelMesh mesh in node._model.Meshes) sphere = BoundingSphere.CreateMerged(sphere, mesh.BoundingSphere); sphere.Radius *= node.Scaling.Length(); sphere.Center = node.Position; if (frus.Contains(sphere) != ContainmentType.Disjoint) return true; else return false; }