diff options
author | Sven Gothel <[email protected]> | 2015-07-20 02:58:17 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-07-20 02:58:17 +0200 |
commit | d9674620bc4f03dff9611a785a27dd41b1b72648 (patch) | |
tree | 1e695f5cd623e6aa6ebcd2df4662ebdcb5b7826f /src/jogl/classes/jogamp | |
parent | befd56510a781e65509256ae37e18888ff58181d (diff) |
Clarify code in stereo/ovr: Comments, states, names, formatting.
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java b/src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java index 491535dc1..88be3b26b 100644 --- a/src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java +++ b/src/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java @@ -163,31 +163,22 @@ public class GenericStereoDevice implements StereoDevice { } @Override - public boolean isValid() { - return true; - } + public boolean isValid() { return true; } @Override - public final PointImmutable getPosition() { - return surfacePos; - } + public final PointImmutable getPosition() { return surfacePos; } @Override - public final DimensionImmutable getSurfaceSize() { - return config.surfaceSizeInPixels; - } + public final DimensionImmutable getSurfaceSize() { return config.surfaceSizeInPixels; } @Override public int getRequiredRotation() { return 0; } @Override - public float[] getDefaultEyePositionOffset() { - return config.defaultEyeParam[0].positionOffset; - } + public float[] getDefaultEyePositionOffset() { return config.defaultEyeParam[0].positionOffset; } @Override - public final FovHVHalves[] getDefaultFOV() { - return defaultEyeFov; - } + public final FovHVHalves[] getDefaultFOV() { return defaultEyeFov; } + @Override public final boolean startSensors(final int desiredSensorBits, final int requiredSensorBits) { |