Skip to content
Snippets Groups Projects
Commit e94e9427 authored by Philip Trettner's avatar Philip Trettner
Browse files

Introduced ACGL_RIFT_SDK_VERSION define to disable SimpleRiftController for new rift sdk

parent c283639f
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@
#include <ACGL/ACGL.hh>
#ifdef ACGL_USE_OCULUS_RIFT
#if ACGL_RIFT_SDK_VERSION < 32
#include <ACGL/Math/Math.hh>
#include <glm/gtc/quaternion.hpp>
......@@ -220,4 +221,5 @@ ACGL_SMARTPOINTER_TYPEDEFS(SimpleRiftController)
}
}
#endif // RIFT_VERSION
#endif // ACGL_USE_OCULUS_RIFT
\ No newline at end of file
......@@ -2,6 +2,7 @@
#include <ACGL/OpenGL/Creator/ShaderProgramCreator.hh>
#ifdef ACGL_USE_OCULUS_RIFT
#if ACGL_RIFT_SDK_VERSION < 32
using namespace OVR;
using namespace ACGL;
......@@ -736,3 +737,4 @@ void SimpleRiftController::renderDistortedP( ACGL::OpenGL::ConstSharedShaderProg
}
#endif
#endif
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment