Пример #1
0
        private void ScaleTransform(Transform t)
        {
            var oldScale = t.localScale;

            _rectGrid.ScaleTransform(t);

            for (var i = 0; i < 3; ++i)
            {
                if (IgnoredAxes[i])
                {
                    var newScale = t.localScale;
                    newScale[i]  = oldScale[i];
                    t.localScale = newScale;
                }
            }
        }