Updated docs.

This commit is contained in:
Branimir Karadžić
2016-04-10 21:13:07 -07:00
parent ad49e3024c
commit d20fe5d238
2 changed files with 2 additions and 14 deletions

View File

@@ -455,9 +455,7 @@ instead) inside different build system.</p>
</div>
<div class="section" id="oculusvr-integration">
<h2>OculusVR Integration<a class="headerlink" href="#oculusvr-integration" title="Permalink to this headline"></a></h2>
<p>OculusVR support is currently experimental, and only DX11 is tested. To
build with OculusVR HMD support enabled you must set <code class="docutils literal"><span class="pre">OVR_DIR</span></code>
enviroment variable:</p>
<p>To build with OculusVR HMD support enabled you must set <code class="docutils literal"><span class="pre">OVR_DIR</span></code> enviroment variable:</p>
<div class="highlight-python"><div class="highlight"><pre>set OVR_DIR=&lt;path to OculusSDK&gt;
</pre></div>
</div>
@@ -465,16 +463,6 @@ enviroment variable:</p>
<div class="highlight-python"><div class="highlight"><pre>genie --with-ovr vs2012
</pre></div>
</div>
<p>In <code class="docutils literal"><span class="pre">LibOVR/Include</span></code> create trampoline headers <code class="docutils literal"><span class="pre">OVR_D3D.h</span></code> and
<code class="docutils literal"><span class="pre">OVR_GL.h</span></code>.</p>
<p><code class="docutils literal"><span class="pre">OVR_D3D.h</span></code> should contain:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="c">#include &quot;../Src/OVR_CAPI_D3D.h&quot;</span>
</pre></div>
</div>
<p><code class="docutils literal"><span class="pre">OVR_GL.h</span></code> should contain:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="c">#include &quot;../Src/OVR_CAPI_GL.h&quot;</span>
</pre></div>
</div>
</div>
<div class="section" id="alternative-build-systems">
<h2>Alternative build systems<a class="headerlink" href="#alternative-build-systems" title="Permalink to this headline"></a></h2>

File diff suppressed because one or more lines are too long