const
function: Transform inverse (void)false
])Returns a
Transform
T
with aT.matrix
that is the inverse ofmatrix
. If assign==true
, thenmatrix
is set to its inverse.In the
const
version,matrix
remains unchanged. The second should only ever be called withtrue
as its assign argument. If you're tempted callinverse(false)
, you might as well just leave out the argument, which issues a warning message, and calls theconst
version.