Example #1
0
File: World.cs Project: Alword/Bost
        public Int3 GetGound(Double3 position)
        {
            Int3 block = position.Floor();

            while (EmptyBlocks.Contains(this[block].Id))
            {
                block += Int3.Down;
            }
            return(block);
        }