So, I've been having problems with xtk's
var rotate = m.rotate($ANGLE, $IAXIS);
function for quite some time now. Basically, what I would like to do is rotate a single object in space around a certain axis without moving other objects or the camera. My idea is to do that by applying the rotate function on X.matrix which would contain object's transform.matrix.
The problem is, I can't get the X.matrix.rotate to work AT ALL. Can anyone maybe give me at least some example how the function call should look like, and how to define $IAXIS because I suspect that might be the problem.
Many thanks!