Function to rotate X to match Y via singular value decomposition
matrix to be rotated
rotated object Xrot, and the rotation matrix R
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.