Skip to content
Snippets Groups Projects
Commit 1fab2513 authored by Robert Menzel's avatar Robert Menzel
Browse files

fixed defines

parent 84223f7a
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,12 @@
*
*
*/
#include <OVR_CAPI.h>
#ifdef ACGL_USE_OCULUS_RIFT
#include <ACGL/ACGL.hh>
#include <glm/glm.hpp>
#include <OVR_CAPI.h>
#ifdef ACGL_USE_OCULUS_RIFT
#if ACGL_RIFT_SDK_VERSION >= 32
namespace ACGL{
......
......@@ -16,6 +16,7 @@
* users body to the requested eye.
*
*/
#ifdef ACGL_USE_OCULUS_RIFT
#include <ACGL/ACGL.hh>
#include <ACGL/Scene/GenericCamera.hh>
......@@ -64,3 +65,5 @@ private:
ACGL_SMARTPOINTER_TYPEDEFS(OculusRiftCamera)
}
}
#endif // ACGL_USE_OCULUS_RIFT
......@@ -4,6 +4,8 @@
* Distributed under the terms of the MIT License (see LICENSE.TXT). *
**********************************************************************/
#ifdef ACGL_USE_OCULUS_RIFT
#include <ACGL/Scene/OculusRiftCamera.hh>
#include <ACGL/Utils/Log.hh>
......@@ -138,3 +140,5 @@ glm::uvec2 OculusRiftCamera::getViewportSize() const
}
}
#endif // ACGL_USE_OCULUS_RIFT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment