public void Update(Com.Viperstudio.Geom.Matrix matrix) { //TODO: vetex updating for (int i = 0; i < 8; i += 2) { _vertices[i] = _verticesOrigin[i] * matrix.A + _verticesOrigin[i + 1] * matrix.C + matrix.Tx; _vertices[i + 1] = -(_verticesOrigin[i] * matrix.B + _verticesOrigin[i + 1] * matrix.D + matrix.Ty); } }
public void StrassenMultiple(Com.Viperstudio.Geom.Matrix m) { matrix = matrix * m.matrix; }