I need to apply a quaternion rotation to many objects.
Thus, I have to apply a quaternion rotation to a 3 planes (x,y,z) matrix containing objects positions
Basically, I'd prefer to use only 1 jit.gen to calculate the rotation matrix, then I'll apply the rotation outside of gen world, multiplying the rotation matrix by the positions one.
How can I create the 3x3 rotation matrix using jit.gen ?
I have all the calculations ready etc, but I don't know how to wire stuff or objects to use to pop out .. a 3x3 matrix.
Anyone would help here?