示例#1
0
文件: MatrixTests.cs 项目: m13253/xwt
		public void Append ()
		{
			// NB pick test matrices so that Append and Prepend results differ
			var m = new Matrix (1, 2, 3, 4, 5, 6);
			m.Append (new Matrix (6, 5, 4, 3, 2, 1));
			CheckMatrix (new Matrix (14, 11, 34, 27, 56, 44), m);
		}
示例#2
0
文件: Matrix.cs 项目: wesreid/xwt
        public static Matrix operator *(Matrix trans1, Matrix trans2)
        {
            var result = new Matrix(trans1);

            result.Append(trans2);
            return(result);
        }
示例#3
0
 public static Matrix operator *(Matrix trans1, Matrix trans2)
 {
     var result = new Matrix (trans1);
     result.Append (trans2);
     return result;
 }
示例#4
0
 public void Append()
 {
     var m = new Matrix (1, 2, 3, 4, 5, 6);
     m.Append (m);
     CheckMatrix (new Matrix (7, 10, 15, 22, 28, 40), m);
 }