diff options
| author | Ray <[email protected]> | 2016-07-06 00:54:38 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2016-07-06 00:54:38 +0200 |
| commit | bc80174357392c0a16b74cd4a9e497a1de367760 (patch) | |
| tree | fdcf31178509e2e5dde7d2b8fcc8e78edba578b8 /src/rlgl.h | |
| parent | 2ff2096b36d80078cbda5e61ff77d7fedeeeaeb5 (diff) | |
| download | raylib-bc80174357392c0a16b74cd4a9e497a1de367760.tar.gz raylib-bc80174357392c0a16b74cd4a9e497a1de367760.zip | |
VR Functions renaming (for generic HMD device)
Stereo rendering has been moved again to Begin3dMode() and End3dMode(),
it has some limitations but makes more sense...
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -350,15 +350,15 @@ Light CreateLight(int type, Vector3 position, Color diffuse); // Create a void DestroyLight(Light light); // Destroy a light and take it out of the list void TraceLog(int msgType, const char *text, ...); -#endif -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 BeginOculusDrawing(void); // Begin Oculus drawing configuration -void EndOculusDrawing(void); // End Oculus drawing process (and desktop mirror) -bool IsOculusReady(void); // Detect if oculus device (or simulator) is ready -void ToggleVR(void); // Enable/Disable VR experience (Oculus device or simulator) +void InitVrDevice(int hmdDevice); // Init VR device +void CloseVrDevice(void); // Close VR device +void UpdateVrTracking(void); // Update VR tracking (position and orientation) +void BeginVrDrawing(void); // Begin VR drawing configuration +void EndVrDrawing(void); // End VR drawing process (and desktop mirror) +bool IsVrDeviceReady(void); // Detect if VR device (or simulator) is ready +void ToggleVrMode(void); // Enable/Disable VR experience (device or simulator) +#endif #ifdef __cplusplus } |
