QROTATE
quaternionsRotates a vector by a quaternion.
The QROTATE
function consumes on the top of the stack three doubles representing a vector(x, y, z) and a long representing a quaternion and pushes back the vector rotated into 3 doubles (x, y, z with z being on top).