MAIN PROGRAM: hduVector3Dd position; /* Get the current position of the device. */ hdGetDoublev(HD_CURRENT_POSITION, position);