Corrected deprecated functions setRotationFromEuler and useQuaternion.