gl-matrix's quaternion object has 3 functions rotateX
, rotateY
and rotateZ
which rotates quaternion by the specific axis.
Now I want to do the same using phi and theta instead of xyz.
How is this possible ? Is it possible to extract some value then pass it to rotateX
, rotateY
and rotateZ
?