public void Invert() { matrix = matrix.Invert (); }
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; }
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; }
public void StrassenMultiple (Com.Viperstudio.Geom.Matrix m) { matrix = matrix * m.matrix; }
public void StrassenMultiple(Com.Viperstudio.Geom.Matrix m) { matrix = matrix * m.matrix; }
public void Invert() { matrix = matrix.Invert(); }