summaryrefslogtreecommitdiffhomepage
path: root/examples/core
diff options
context:
space:
mode:
Diffstat (limited to 'examples/core')
-rw-r--r--examples/core/core_input_gamepad.c4
-rw-r--r--examples/core/core_vr_simulator.c18
2 files changed, 7 insertions, 15 deletions
diff --git a/examples/core/core_input_gamepad.c b/examples/core/core_input_gamepad.c
index f98885e3..64520a47 100644
--- a/examples/core/core_input_gamepad.c
+++ b/examples/core/core_input_gamepad.c
@@ -4,8 +4,8 @@
*
* NOTE: This example requires a Gamepad connected to the system
* raylib is configured to work with the following gamepads:
-* Xbox 360 Controller (Xbox 360, Xbox One)
-* PLAYSTATION(R)3 Controller
+* - Xbox 360 Controller (Xbox 360, Xbox One)
+* - PLAYSTATION(R)3 Controller
* Check raylib.h for buttons configuration
*
* This example has been created using raylib 1.6 (www.raylib.com)
diff --git a/examples/core/core_vr_simulator.c b/examples/core/core_vr_simulator.c
index 5e6c6446..69e0f849 100644
--- a/examples/core/core_vr_simulator.c
+++ b/examples/core/core_vr_simulator.c
@@ -1,19 +1,11 @@
/*******************************************************************************************
*
-* raylib [core] example - Oculus Rift CV1
+* raylib [core] example - VR Simulator (Oculus Rift CV1 parameters)
*
-* Compile example using:
-* gcc -o $(NAME_PART).exe $(FILE_NAME) -I..\src\external -I..\src\external\OculusSDK\LibOVR\Include /
-* -L. -L..\src\external\OculusSDK\LibOVR -lLibOVRRT32_1 -lraylib -lglfw3 -lopengl32 -lgdi32 -std=c99 /
-* -Wl,-allow-multiple-definition
-*
-* #define SUPPORT_OCULUS_RIFT_CV1 / RLGL_OCULUS_SUPPORT
-* Enable Oculus Rift CV1 functionality
-*
-* This example has been created using raylib 1.5 (www.raylib.com)
+* This example has been created using raylib 1.7 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
-* Copyright (c) 2016 Ramon Santamaria (@raysan5)
+* Copyright (c) 2017 Ramon Santamaria (@raysan5)
*
********************************************************************************************/
@@ -28,7 +20,7 @@ int main()
// NOTE: screenWidth/screenHeight should match VR device aspect ratio
- InitWindow(screenWidth, screenHeight, "raylib [core] example - oculus rift");
+ InitWindow(screenWidth, screenHeight, "raylib [core] example - vr simulator");
InitVrSimulator(HMD_OCULUS_RIFT_CV1); // Init VR simulator (Oculus Rift CV1 parameters)
@@ -83,7 +75,7 @@ int main()
// De-Initialization
//--------------------------------------------------------------------------------------
- CloseVrSimulator();
+ CloseVrSimulator(); // Close VR simulator
CloseWindow(); // Close window and OpenGL context
//--------------------------------------------------------------------------------------