Extracted from https://github.com/OculusRiftInAction/OculusRiftInAction which is part of an upcoming book by Bradley Austin Davis, Karen Bryla, and Phillips Alexander Benton: Oculus Rift in Action
Modifications:
- Changed style to BSD
- Removed many OS independence switches, now is Linux only
- Moved app class from main.cpp to separate file
- Eventually resources will be deleted