From d99b7bf16fe316a10784e9588408ab28b204e506 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 20 Jul 2015 02:59:54 +0200 Subject: StereoDevice (Generic/OVR): Add knowledge about LocationSensorParameter and allow reset origin of location-sensor --- src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/jogl/classes/jogamp/opengl/util') diff --git a/src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java b/src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java index 88be3b26b..bfe93b59c 100644 --- a/src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java +++ b/src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java @@ -36,6 +36,7 @@ import com.jogamp.nativewindow.util.RectangleImmutable; import com.jogamp.opengl.math.FovHVHalves; import com.jogamp.opengl.util.stereo.StereoDeviceConfig; import com.jogamp.opengl.util.stereo.EyeParameter; +import com.jogamp.opengl.util.stereo.LocationSensorParameter; import com.jogamp.opengl.util.stereo.StereoDevice; import com.jogamp.opengl.util.stereo.StereoDeviceFactory; import com.jogamp.opengl.util.stereo.StereoDeviceRenderer; @@ -179,6 +180,11 @@ public class GenericStereoDevice implements StereoDevice { @Override public final FovHVHalves[] getDefaultFOV() { return defaultEyeFov; } + @Override + public final LocationSensorParameter getLocationSensorParams() { return null; } + + @Override + public final void resetLocationSensorOrigin() { } @Override public final boolean startSensors(final int desiredSensorBits, final int requiredSensorBits) { -- cgit v1.2.3