diff options
| author | raysan5 <raysan5@gmail.com> | 2016-06-14 17:16:20 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-06-14 17:16:20 +0200 |
| commit | 3ce02282063b47bd3e0beb0453d33ef316a371fa (patch) | |
| tree | 0afafa20d8117fff20b3eed938a9e10ccb8e92f0 /src/rlgl.h | |
| parent | 0d0f306fc2f6bed7526df2044263698753811d0a (diff) | |
| download | raylib-3ce02282063b47bd3e0beb0453d33ef316a371fa.tar.gz raylib-3ce02282063b47bd3e0beb0453d33ef316a371fa.zip | |
Move Oculus Rift support to rlgl module
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -347,6 +347,15 @@ void DestroyLight(Light light); // Destroy a void TraceLog(int msgType, const char *text, ...); #endif +#if defined(RLGL_OCULUS_SUPPORT) +void InitOculusDevice(void); // Init Oculus Rift device +void CloseOculusDevice(void); // Close Oculus Rift device +void UpdateOculusTracking(void); // Update Oculus Rift tracking (position and orientation) +void SetOculusMatrix(int eye); // Set internal projection and modelview matrix depending on eyes tracking data +void BeginOculusDrawing(void); // Begin Oculus drawing configuration +void EndOculusDrawing(void); // End Oculus drawing process (and desktop mirror) +#endif + #ifdef __cplusplus } #endif |
