Exemple #1
0
        public Bounds GetCellBounds(int x, int y, int z)
        {
            var min = new Vector3(x * CellSize, y * CellSize, z * CellSize) + Position;
            var max = min + Vector3Ext.New(CellSize);

            return(BoundsExt.New(min, max));
        }