Exemple #1
0
        public void ValueTest_AxisAlignedBB_Center()
        {
            AxisAlignedBB bb = new AxisAlignedBB();

            bb.Max = new Vector3(16f, 4f, 12f);
            bb.Min = new Vector3(8f, 3f, 6f);
            Console.WriteLine(bb.Center);
        }
Exemple #2
0
        public void ValueTest_AxisAlignedBB_Size()
        {
            AxisAlignedBB bb = new AxisAlignedBB();

            bb.Max = new Vector3(16f, 4f, 12f);
            bb.Min = new Vector3(6f, 2f, 2f);
            Console.WriteLine(bb.Size);
        }