From b99079734b377285e1f49ecdf1f993a8c698f6f1 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 22 Mar 2017 20:33:46 +0100 Subject: [PATCH] Updated Compile for Oculus Rift CV1 (markdown) --- Compile-for-Oculus-Rift-CV1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Compile-for-Oculus-Rift-CV1.md b/Compile-for-Oculus-Rift-CV1.md index 8790e18..e8b0783 100644 --- a/Compile-for-Oculus-Rift-CV1.md +++ b/Compile-for-Oculus-Rift-CV1.md @@ -2,13 +2,13 @@ To build your raylib game for Oculus Rift CV1, raylib installer comes with all t If you want to use another code editor like Visual Studio or another compiler package you can also use them but the instructions in this page are focused on raylib standard development tools: Notepad++ and MinGW. -###Installing raylib +### Installing raylib Just download raylib installer and run it (full installation). It installs custom versions of Notepad++ and MinGW, prepared to work with raylib. Source code also comes with Oculus Rift required libraries. NOTE: raylib 1.5 comes with Oculus Rift runtime libraries v1.6.0; the [Oculus PC SDK](https://developer.oculus.com/downloads/pc/1.6.0/Oculus_SDK_for_Windows/) is updated quite frequently. If you need to update to latest version and create a game using latest SDK version features, you can just update [raylib/src/external/OculusSDK/LibOVR](https://github.com/raysan5/raylib/tree/master/src/external/OculusSDK/LibOVR) in your installation folder. -###Compiling raylib source code +### Compiling raylib source code _Step 1:_ By default, raylib compiled version does not include Oculus Rift support, it must be recompiled including Oculus libraries. To do that, just open Notepad++, open `raylib/src/core.c` and execute Notepad++ script: @@ -18,7 +18,7 @@ NOTE: raylib will be compiled for OpenGL 3.3 Core backend with Oculus Rift suppo raylib_source_compile_gl33 -###Compiling your raylib Oculus Rift game +### Compiling your raylib Oculus Rift game _Step 1:_ Just open on Notepad++ your Oculus Rift game file (check `raylib/examples/core_oculus_rift.c` for reference) and execute Notepad++ script: