aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-08-06 19:30:41 +0200
committerraysan5 <raysan5@gmail.com>2016-08-06 19:30:41 +0200
commit16ac468bdb121cc9539959d7e921b32932f6fc75 (patch)
tree3bbb53606e9da2dab404e36d1eafa6837e26e62d /src
parent58c762baa3738b3e8e326d2f51c96f8b241fcb04 (diff)
downloadraylib-16ac468bdb121cc9539959d7e921b32932f6fc75.tar.gz
raylib-16ac468bdb121cc9539959d7e921b32932f6fc75.zip
Remove functions from user exposure
Diffstat (limited to 'src')
-rw-r--r--src/raylib.h4
-rw-r--r--src/rlgl.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 1489546a..bbf83ccd 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -909,10 +909,8 @@ void DestroyLight(Light light); // Destroy a
//------------------------------------------------------------------------------------
void InitVrDevice(int vdDevice); // 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 UpdateVrTracking(void); // Update VR tracking (position and orientation)
void ToggleVrMode(void); // Enable/Disable VR experience (device or simulator)
//------------------------------------------------------------------------------------
diff --git a/src/rlgl.h b/src/rlgl.h
index 425871a9..bcb7c24f 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -332,6 +332,10 @@ Vector3 rlglUnproject(Vector3 source, Matrix proj, Matrix view); // Get world
unsigned char *rlglReadScreenPixels(int width, int height); // Read screen pixel data (color buffer)
void *rlglReadTexturePixels(Texture2D texture); // Read texture pixel data
+// VR functions exposed to core module but not to raylib users
+void BeginVrDrawing(void); // Begin VR drawing configuration
+void EndVrDrawing(void); // End VR drawing process (and desktop mirror)
+
// NOTE: There is a set of shader related functions that are available to end user,
// to avoid creating function wrappers through core module, they have been directly declared in raylib.h
@@ -368,10 +372,8 @@ float *MatrixToFloat(Matrix mat);
void InitVrDevice(int vrDevice); // 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 UpdateVrTracking(void); // Update VR tracking (position and orientation)
void ToggleVrMode(void); // Enable/Disable VR experience (device or simulator)
// Oculus Rift API for direct access the device (no simulator)