Commit 1fab2513 authored by Robert Menzel's avatar Robert Menzel

fixed defines

parent 84223f7a
......@@ -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{
......@@ -35,4 +36,4 @@ namespace HardwareSupport{
}
#endif // RIFT_VERSION
#endif // ACGL_USE_OCULUS_RIFT
\ No newline at end of file
#endif // ACGL_USE_OCULUS_RIFT
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment