Add functions to use absolute tracking
[libs/vr.git] / source / libovr / libovrsystem.cpp
index c8183b08eb64d939d10e4c1e060da0ac46008fed..0136d49dd7616c8c75fb6b7a647032c6fb209908 100644 (file)
@@ -65,6 +65,12 @@ void LibOVRSystem::configure_view(StereoView &view) const
        view.set_eye_matrices(GL::Matrix::translation(GL::Vector3(l.x, l.y, l.z)), GL::Matrix::translation(GL::Vector3(r.x, r.y, r.z)));
 }
 
+void LibOVRSystem::set_absolute_tracking(bool a)
+{
+       if(a)
+               throw invalid_argument("absolute tracking not supported");
+}
+
 LibOVRCamera *LibOVRSystem::create_camera(const GL::Camera &bc)
 {
        return new LibOVRCamera(*this, bc);