Closed mpomarlan closed 9 years ago
@mpomarlan Could you please also export the function in the lisp package.lisp
?
@mpomarlan Is this still on your list or should I close the pull request?
On the order of multiplication: as defined in the comment ("the transform that, when left-multiplied, will convert transform-From into transform-To"), it should be fine. If transform-Diff is the result, then this means: transform-To = transform-Diff * transform-From (aka, transform-To * inverse(transform-From) = transform-Diff).
On package.lisp exporting: done.
Cheers!
@mpomarlan I rechecked your comment and the code. They are indeed consistent. I do not see a use for this but you probably have one. So, I'll merge it in. ;)
For convenience, added a transform-diff function:
(defun transform-diff (transform-To transform-From)
This seems like a very common task when working with transforms, so it makes sense to have it in the core package, unless something like it is here already.