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)); }