示例#1
0
		public void Invert()
		{

			matrix = matrix.Invert ();

		

	    }
示例#2
0
 public Matrix(float a = 1f, float b = 0f, float c = 0f, float d = 1f, float tx = 0f, float ty = 0f)
 {
     matrix            = new Com.Viperstudio.Utils.Matrix(3, 3);
     matrix.mat [0, 0] = a;
     matrix.mat [1, 0] = c;
     matrix.mat [2, 0] = tx;
     matrix.mat [0, 1] = b;
     matrix.mat [1, 1] = d;
     matrix.mat [2, 1] = ty;
     matrix.mat [0, 2] = 0;
     matrix.mat [1, 2] = 0;
     matrix.mat [2, 2] = 1;
 }
示例#3
0
		public Matrix (float a = 1f, float b = 0f, float c = 0f, float d = 1f, float tx =0f, float ty = 0f)
		{
			matrix = new Com.Viperstudio.Utils.Matrix (3, 3);
			matrix.mat [0, 0] = a;
			matrix.mat [1, 0] = c;
			matrix.mat [2, 0] = tx;
			matrix.mat [0, 1] = b;
			matrix.mat [1, 1] = d;
			matrix.mat [2, 1] = ty;
			matrix.mat [0, 2] = 0;
			matrix.mat [1, 2] = 0;
			matrix.mat [2, 2] = 1;


		}
示例#4
0
		public void StrassenMultiple (Com.Viperstudio.Geom.Matrix m)
		{
			matrix = matrix * m.matrix;
		}
示例#5
0
 public void StrassenMultiple(Com.Viperstudio.Geom.Matrix m)
 {
     matrix = matrix * m.matrix;
 }
示例#6
0
 public void Invert()
 {
     matrix = matrix.Invert();
 }