Great toolkit and great demos!
I want to use XTK with an existing system. Is there any way to set an object's transform directly from a 4x4 affine transform matrix (ie not by rotations, translations etc)?
you can use
var transform = new X.matrix(
[[-2.00000, 0.00000, 0.00000, 110.00000],
[0.00000, 0.00000, 2.00000, -71.00000],
[0.00000, -2.00000, 0.00000, 110.00000],
[0.00000, 0.00000, 0.00000, 1.00000]]);
object.transform().setMatrix(transform);
like in http://lessons.goxtk.com/08/
Cheers!