vuer.frame.to_mat
to_mat
Convert a quaternion and position to a 4x4 transformation matrix.
:param quat: A list or numpy array of 4 elements [x, y, z, w] representing the quaternion :param pos: A list or numpy array of 3 elements [x, y, z] representing the position :return: A 4x4 numpy array representing the transformation matrix