Mxj object converting a rotation matrix to axis-angle format

This Java for Max object will convert a rotation matrix, appearing as a list of joint rotation data from the Osceleton  Kinect input interface, into an Axis-angle format that can be used as a parameter for the jit.anim.node object for control of 3D avatars.

The code is dirty and without support for singularity at the moment. It is based on an example taken from Euclideanspace.

It has yet to be tested thoroughly, but please take it and use or make changes as you please.

mat2axis

Screen Shot 2012-03-17 at 1.24.10 PM