aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-20 02:59:54 +0200
committerSven Gothel <[email protected]>2015-07-20 02:59:54 +0200
commitd99b7bf16fe316a10784e9588408ab28b204e506 (patch)
treefe631eecaef1a3e3d3522f21e471f3bc5c524b7c /src/jogl/classes/jogamp
parentd9674620bc4f03dff9611a785a27dd41b1b72648 (diff)
StereoDevice (Generic/OVR): Add knowledge about LocationSensorParameter and allow reset origin of location-sensor
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r--src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java6
1 files changed, 6 insertions, 0 deletions
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) {