public int GetRegionHeight() { int result = MathUtils.Round((heightRatio - yOff) * texture.GetTextureHeight()); return((result > 0) ? result : -result); }
public int GetRegionHeight() { int result = MathUtils.Round((heightRatio - yOff) * texture.GetTextureHeight()); return((result > 0) ? result : -result); }