Node: Matrix Inversion, Next: , Previous: Transform Operators, Up: Transform Reference

Matrix Inversion

Transform inverse (void) const function
Transform inverse ([bool assign = false]) Function
Returns a Transform T with a T.matrix that is the inverse of matrix. If assign==true, then matrix is set to its inverse.

In the const version, matrix remains unchanged. The second should only ever be called with true as its assign argument. If you're tempted call inverse(false), you might as well just leave out the argument, which issues a warning message, and calls the const version.