makeRegion() public static method

public static makeRegion ( byte xSector, byte ySector ) : short
xSector byte
ySector byte
return short
Example #1
0
        public static float GetHeightAt(byte xSec, byte ySec, float x, float y)
        {
            short region = Formule.makeRegion(xSec, ySec);

            return(Data.MapObject[region].GetHeightAt(packetx(x, xSec) / 20.0f, packety(y, ySec) / 20.0f));
        }