コード例 #1
0
        public void GetCulledIndices_Test()
        {
            List <Direction> directions = new List <Direction> {
                Direction.Above, Direction.East, Direction.West
            };
            var result = BlockMesh.GetCulledIndices(directions);

            Assert.AreEqual(result, new int[]
            {
                0, 1, 2, 2, 3, 0,
                4, 5, 6, 6, 7, 4,
                8, 9, 10, 10, 11, 8
            });
        }