Пример #1
0
        public int GetRegionHeight()
        {
            int result = MathUtils.Round((heightRatio - yOff)
                                         * texture.GetTextureHeight());

            return((result > 0) ? result : -result);
        }