mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-26 15:49:30 +00:00
Basic port of code
This commit is contained in:
parent
93a36f006f
commit
64b751a7c8
19 changed files with 613 additions and 374 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue