could anyone describe the jit.gl.handles output. i don’t understand the four values for "rotate".
x y z and amount I believe
rotation of x y z between 0..1 and the last one is the amount in radians.
Of the top my head that is.
it’s called angle-axis rotation (quaternion-rotation)
the four numbers are:
angle, x-component, y-component, z-component (of vector to rotate
use the [rotatexyz $1 $2 $3] message for jit.gl.handle to have
"normal" rotation in angle per Cartesian dimension.
Then I would like to apologize :) My answers was not as argumented as
‘/*j’s and clearly flawed.
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions