Example code for using the Oculus Rift