diff options
| author | raysan5 <raysan5@gmail.com> | 2016-06-03 18:26:59 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-06-03 18:26:59 +0200 |
| commit | 13bef7aa0215c135074947a28dce92695d456565 (patch) | |
| tree | c81c40a72105b035ffef79cff356369141db194d /src/raylib.h | |
| parent | b574e105dd8790bdc60ffb4876f840ff3316abe4 (diff) | |
| download | raylib-13bef7aa0215c135074947a28dce92695d456565.tar.gz raylib-13bef7aa0215c135074947a28dce92695d456565.zip | |
Work on Oculus functionality
Trying to find the best way to integrate Oculus support into raylib,
making it easy for the user...
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index efd96a67..bdaaeb08 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -578,6 +578,12 @@ void InitWindow(int width, int height, struct android_app *state); // Init Andr void InitWindow(int width, int height, const char *title); // Initialize Window and OpenGL Graphics #endif +#if defined(PLATFORM_OCULUS) +void InitOculusDevice(void); // Init Oculus Rift device +void CloseOculusDevice(void); // Close Oculus Rift device +void UpdateOculusTracking(void); // Update Oculus Rift tracking (position and orientation) +#endif + void CloseWindow(void); // Close Window and Terminate Context bool WindowShouldClose(void); // Detect if KEY_ESCAPE pressed or Close icon pressed bool IsWindowMinimized(void); // Detect if window has been minimized (or lost focus) |
