Exemplo n.º 1
0
        public void BoundingSphereDeconstruct()
        {
            BoundingSphere boundingSphere = new BoundingSphere(new Vector3(255, 255, 255), float.MaxValue);

            Vector3 center;
            float   radius;

            boundingSphere.Deconstruct(out center, out radius);

            Assert.AreEqual(center, boundingSphere.Center);
            Assert.AreEqual(radius, boundingSphere.Radius);
        }