Ejemplo n.º 1
0
        /// <summary>
        /// Scales the matrix by the given <paramref name="amount"/> in all orthoganal columns.
        /// </summary>
        /// <param name="amount">Amount to scale by.</param>
        public void Scale(DoubleComponent amount)
        {
            if (IsEmpty)
            {
                return;
            }

            _right  = _right.Multiply(amount);
            _bottom = _bottom.Multiply(amount);
        }