Basic port of code

This commit is contained in:
James Urquhart 2016-03-21 15:10:14 +00:00
parent 93a36f006f
commit 64b751a7c8
19 changed files with 613 additions and 374 deletions

View file

@ -33,7 +33,7 @@
#include "math/mQuat.h"
#include "math/mPoint4.h"
#include "gfx/gfxDevice.h"
#include "OVR_CAPI_0_5_0.h"
#include "OVR_CAPI_0_8_0.h"
#define DEFAULT_RIFT_UNIT 0
@ -83,6 +83,9 @@ protected:
/// Which HMD is the active one
U32 mActiveDeviceId;
/// Device id we need to use to hook up with oculus
ovrGraphicsLuid mLuid;
protected:
void cleanUp();
@ -90,7 +93,7 @@ protected:
/// Input Event Manager
void buildCodeTable();
void addHMDDevice(ovrHmd hmd);
void addHMDDevice(ovrHmd hmd, ovrGraphicsLuid luid);
void createSimulatedHMD();