Multiply two matrices and replace current one.
(self, one, two)
| 8767 | return m2.concat(self, m1) |
| 8768 | |
| 8769 | def concat(self, one, two): |
| 8770 | """Multiply two matrices and replace current one.""" |
| 8771 | if not len(one) == len(two) == 6: |
| 8772 | raise ValueError("Matrix: bad seq len") |
| 8773 | self.a, self.b, self.c, self.d, self.e, self.f = util_concat_matrix(one, two) |
| 8774 | return self |
| 8775 | |
| 8776 | def invert(self, src=None): |
| 8777 | """Calculate the inverted matrix. Return 0 if successful and replace |