diff --git a/jme3-core/src/main/java/com/jme3/audio/AudioNode.java b/jme3-core/src/main/java/com/jme3/audio/AudioNode.java index 5dd1d8a61..fead019ae 100644 --- a/jme3-core/src/main/java/com/jme3/audio/AudioNode.java +++ b/jme3-core/src/main/java/com/jme3/audio/AudioNode.java @@ -158,6 +158,7 @@ public class AudioNode extends Node implements AudioSource { * * @deprecated Use {@link AudioNode#AudioNode(com.jme3.asset.AssetManager, java.lang.String, com.jme3.audio.AudioData.DataType)} instead */ + @Deprecated public AudioNode(AssetManager assetManager, String name, boolean stream, boolean streamCache) { this.audioKey = new AudioKey(name, stream, streamCache); this.data = (AudioData) assetManager.loadAsset(audioKey); @@ -173,6 +174,7 @@ public class AudioNode extends Node implements AudioSource { * * @deprecated Use {@link AudioNode#AudioNode(com.jme3.asset.AssetManager, java.lang.String, com.jme3.audio.AudioData.DataType)} instead */ + @Deprecated public AudioNode(AssetManager assetManager, String name, boolean stream) { this(assetManager, name, stream, true); // Always streamCached } @@ -186,6 +188,7 @@ public class AudioNode extends Node implements AudioSource { * * @deprecated AudioRenderer parameter is ignored. */ + @Deprecated public AudioNode(AudioRenderer audioRenderer, AssetManager assetManager, String name) { this(assetManager, name, DataType.Buffer); } @@ -197,6 +200,7 @@ public class AudioNode extends Node implements AudioSource { * @param name The filename of the audio file * @deprecated Use {@link AudioNode#AudioNode(com.jme3.asset.AssetManager, java.lang.String, com.jme3.audio.AudioData.DataType) } instead */ + @Deprecated public AudioNode(AssetManager assetManager, String name) { this(assetManager, name, DataType.Buffer); } diff --git a/jme3-core/src/main/java/com/jme3/input/AbstractJoystick.java b/jme3-core/src/main/java/com/jme3/input/AbstractJoystick.java index 5ced607ff..ee0d4b9e8 100644 --- a/jme3-core/src/main/java/com/jme3/input/AbstractJoystick.java +++ b/jme3-core/src/main/java/com/jme3/input/AbstractJoystick.java @@ -98,6 +98,7 @@ public abstract class AbstractJoystick implements Joystick { * @deprecated Use JoystickButton.assignButton() instead. */ @Override + @Deprecated public void assignButton(String mappingName, int buttonId){ if (buttonId < 0 || buttonId >= getButtonCount()) throw new IllegalArgumentException(); @@ -116,6 +117,7 @@ public abstract class AbstractJoystick implements Joystick { * @deprecated Use JoystickAxis.assignAxis() instead. */ @Override + @Deprecated public void assignAxis(String positiveMapping, String negativeMapping, int axisId){ // For backwards compatibility diff --git a/jme3-core/src/main/java/com/jme3/input/InputManager.java b/jme3-core/src/main/java/com/jme3/input/InputManager.java index eb15f1c8b..a8f56c3b9 100644 --- a/jme3-core/src/main/java/com/jme3/input/InputManager.java +++ b/jme3-core/src/main/java/com/jme3/input/InputManager.java @@ -776,6 +776,7 @@ public class InputManager implements RawInputListener { * Returns state of simulation of mouse events. Used for touchscreen input only. * */ + @Deprecated public boolean getSimulateMouse() { if (touch != null) { return touch.isSimulateMouse(); diff --git a/jme3-core/src/main/java/com/jme3/input/Joystick.java b/jme3-core/src/main/java/com/jme3/input/Joystick.java index 8c55c906e..e172224c2 100644 --- a/jme3-core/src/main/java/com/jme3/input/Joystick.java +++ b/jme3-core/src/main/java/com/jme3/input/Joystick.java @@ -57,6 +57,7 @@ public interface Joystick { * @see Joystick#getButtonCount() * @deprecated Use JoystickButton.assignButton() instead. */ + @Deprecated public void assignButton(String mappingName, int buttonId); /** @@ -69,6 +70,7 @@ public interface Joystick { * @see Joystick#getAxisCount() * @deprecated Use JoystickAxis.assignAxis() instead. */ + @Deprecated public void assignAxis(String positiveMapping, String negativeMapping, int axisId); /** diff --git a/jme3-core/src/main/java/com/jme3/material/RenderState.java b/jme3-core/src/main/java/com/jme3/material/RenderState.java index 17bb78f68..5413c3880 100644 --- a/jme3-core/src/main/java/com/jme3/material/RenderState.java +++ b/jme3-core/src/main/java/com/jme3/material/RenderState.java @@ -1242,6 +1242,7 @@ public class RenderState implements Cloneable, Savable { * material parameter. * @return false */ + @Deprecated public boolean isAlphaTest() { return false; } diff --git a/jme3-core/src/main/java/com/jme3/texture/Texture.java b/jme3-core/src/main/java/com/jme3/texture/Texture.java index e2166d42a..65563928f 100644 --- a/jme3-core/src/main/java/com/jme3/texture/Texture.java +++ b/jme3-core/src/main/java/com/jme3/texture/Texture.java @@ -248,6 +248,7 @@ public abstract class Texture implements CloneableSmartAsset, Savable, Cloneable * * @deprecated Not supported by OpenGL 3 */ + @Deprecated MirrorEdgeClamp; } diff --git a/jme3-vr/src/main/java/com/jme3/input/vr/VRInputAPI.java b/jme3-vr/src/main/java/com/jme3/input/vr/VRInputAPI.java index 6cb9afb41..0a2443a68 100644 --- a/jme3-vr/src/main/java/com/jme3/input/vr/VRInputAPI.java +++ b/jme3-vr/src/main/java/com/jme3/input/vr/VRInputAPI.java @@ -123,7 +123,7 @@ public interface VRInputAPI { public Object getRawControllerState(int index); /** - * Swap the two hands (exchange the hands controller 1 & 2 indices). + * Swap the two hands (exchange the hands controller 1 and 2 indices). */ public void swapHands(); diff --git a/jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusVR.java b/jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusVR.java index 0c12b98d2..a3a506d5c 100644 --- a/jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusVR.java +++ b/jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusVR.java @@ -33,7 +33,7 @@ import static org.lwjgl.system.MemoryUtil.*; *
  • Vectors should have their X and Z axes flipped, but apparently not Y.
  • * * - * @author Campbell Suter + * @author Campbell Suter (znix@znix.xyz) */ public class OculusVR implements VRAPI { diff --git a/jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusViewManager.java b/jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusViewManager.java index 0a008af41..1d7baee09 100644 --- a/jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusViewManager.java +++ b/jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusViewManager.java @@ -55,7 +55,7 @@ import static org.lwjgl.ovr.OVRErrorCode.*; /** * A rendering system for Oculus's LibOVR API. * - * @author Campbell Suter + * @author Campbell Suter (znix@znix.xyz) */ public class OculusViewManager extends AbstractVRViewManager { diff --git a/jme3-vr/src/main/java/com/jme3/post/CartoonSSAO.java b/jme3-vr/src/main/java/com/jme3/post/CartoonSSAO.java index e578e6e76..35b2cd95b 100644 --- a/jme3-vr/src/main/java/com/jme3/post/CartoonSSAO.java +++ b/jme3-vr/src/main/java/com/jme3/post/CartoonSSAO.java @@ -43,7 +43,7 @@ public class CartoonSSAO extends Filter{ /** * Create a Screen Space Ambient Occlusion Filter. - * @param downsample factor to divide resolution by for filter, >1 increases speed but degrades quality. + * @param downsample factor to divide resolution by for filter, >1 increases speed but degrades quality. * @param instancedRendering true if this filter has to use instance rendering and false (default) otherwise. */ public CartoonSSAO(float downsample, boolean instancedRendering) { diff --git a/jme3-vr/src/main/java/com/jme3/system/jopenvr/CameraVideoStreamFrameHeader_t.java b/jme3-vr/src/main/java/com/jme3/system/jopenvr/CameraVideoStreamFrameHeader_t.java index b24ad98e6..d8476324d 100644 --- a/jme3-vr/src/main/java/com/jme3/system/jopenvr/CameraVideoStreamFrameHeader_t.java +++ b/jme3-vr/src/main/java/com/jme3/system/jopenvr/CameraVideoStreamFrameHeader_t.java @@ -27,7 +27,7 @@ public class CameraVideoStreamFrameHeader_t extends Structure { return Arrays.asList("eFrameType", "nWidth", "nHeight", "nBytesPerPixel", "nFrameSequence", "standingTrackedDevicePose"); } /** - * @param eFrameType @see EVRTrackedCameraFrameType
    + * @param eFrameType @see JOpenVRLibrary.EVRTrackedCameraFrameType
    * C type : EVRTrackedCameraFrameType
    * @param standingTrackedDevicePose C type : TrackedDevicePose_t */ diff --git a/jme3-vr/src/main/java/com/jme3/system/jopenvr/Texture_t.java b/jme3-vr/src/main/java/com/jme3/system/jopenvr/Texture_t.java index 1999af2d1..ad0cc5c13 100644 --- a/jme3-vr/src/main/java/com/jme3/system/jopenvr/Texture_t.java +++ b/jme3-vr/src/main/java/com/jme3/system/jopenvr/Texture_t.java @@ -32,9 +32,9 @@ public class Texture_t extends Structure { /** * @param handle void *
    * C type : void*
    - * @param eType @see ETextureType
    + * @param eType @see JOpenVRLibrary.ETextureType
    * C type : ETextureType
    - * @param eColorSpace @see EColorSpace
    + * @param eColorSpace @see JOpenVRLibrary.EColorSpace
    * C type : EColorSpace */ public Texture_t(int handle, int eType, int eColorSpace) { diff --git a/jme3-vr/src/main/java/com/jme3/system/jopenvr/TrackedDevicePose_t.java b/jme3-vr/src/main/java/com/jme3/system/jopenvr/TrackedDevicePose_t.java index fc0f3fd9f..81eaf4151 100644 --- a/jme3-vr/src/main/java/com/jme3/system/jopenvr/TrackedDevicePose_t.java +++ b/jme3-vr/src/main/java/com/jme3/system/jopenvr/TrackedDevicePose_t.java @@ -32,7 +32,7 @@ public class TrackedDevicePose_t extends Structure { * @param mDeviceToAbsoluteTracking C type : HmdMatrix34_t
    * @param vVelocity C type : HmdVector3_t
    * @param vAngularVelocity C type : HmdVector3_t
    - * @param eTrackingResult @see ETrackingResult
    + * @param eTrackingResult @see JOpenVRLibrary.ETrackingResult
    * C type : ETrackingResult */ public TrackedDevicePose_t(HmdMatrix34_t mDeviceToAbsoluteTracking, HmdVector3_t vVelocity, HmdVector3_t vAngularVelocity, int eTrackingResult, byte bPoseIsValid, byte bDeviceIsConnected) { diff --git a/jme3-vr/src/main/java/com/jme3/system/jopenvr/VREvent_DualAnalog_t.java b/jme3-vr/src/main/java/com/jme3/system/jopenvr/VREvent_DualAnalog_t.java index 8bcb1a373..a1fb2a523 100644 --- a/jme3-vr/src/main/java/com/jme3/system/jopenvr/VREvent_DualAnalog_t.java +++ b/jme3-vr/src/main/java/com/jme3/system/jopenvr/VREvent_DualAnalog_t.java @@ -25,7 +25,7 @@ public class VREvent_DualAnalog_t extends Structure { return Arrays.asList("x", "y", "transformedX", "transformedY", "which"); } /** - * @param which @see EDualAnalogWhich
    + * @param which @see JOpenVRLibrary.EDualAnalogWhich
    * C type : EDualAnalogWhich */ public VREvent_DualAnalog_t(float x, float y, float transformedX, float transformedY, int which) { diff --git a/jme3-vr/src/main/java/com/jme3/system/jopenvr/VREvent_Property_t.java b/jme3-vr/src/main/java/com/jme3/system/jopenvr/VREvent_Property_t.java index bf8d6e319..945d766cf 100644 --- a/jme3-vr/src/main/java/com/jme3/system/jopenvr/VREvent_Property_t.java +++ b/jme3-vr/src/main/java/com/jme3/system/jopenvr/VREvent_Property_t.java @@ -24,7 +24,7 @@ public class VREvent_Property_t extends Structure { } /** * @param container C type : PropertyContainerHandle_t
    - * @param prop @see ETrackedDeviceProperty
    + * @param prop @see JOpenVRLibrary.ETrackedDeviceProperty
    * C type : ETrackedDeviceProperty */ public VREvent_Property_t(long container, int prop) { diff --git a/jme3-vr/src/main/java/com/jme3/system/jopenvr/VROverlayIntersectionMaskPrimitive_t.java b/jme3-vr/src/main/java/com/jme3/system/jopenvr/VROverlayIntersectionMaskPrimitive_t.java index 6996ec78a..63ec6c5b7 100644 --- a/jme3-vr/src/main/java/com/jme3/system/jopenvr/VROverlayIntersectionMaskPrimitive_t.java +++ b/jme3-vr/src/main/java/com/jme3/system/jopenvr/VROverlayIntersectionMaskPrimitive_t.java @@ -23,7 +23,7 @@ public class VROverlayIntersectionMaskPrimitive_t extends Structure { return Arrays.asList("m_nPrimitiveType", "m_Primitive"); } /** - * @param m_nPrimitiveType @see EVROverlayIntersectionMaskPrimitiveType
    + * @param m_nPrimitiveType @see JOpenVRLibrary.EVROverlayIntersectionMaskPrimitiveType
    * C type : EVROverlayIntersectionMaskPrimitiveType
    * @param m_Primitive C type : VROverlayIntersectionMaskPrimitive_Data_t */ diff --git a/jme3-vr/src/main/java/com/jme3/system/jopenvr/VROverlayIntersectionParams_t.java b/jme3-vr/src/main/java/com/jme3/system/jopenvr/VROverlayIntersectionParams_t.java index 7b2ff945c..872e6609f 100644 --- a/jme3-vr/src/main/java/com/jme3/system/jopenvr/VROverlayIntersectionParams_t.java +++ b/jme3-vr/src/main/java/com/jme3/system/jopenvr/VROverlayIntersectionParams_t.java @@ -27,7 +27,7 @@ public class VROverlayIntersectionParams_t extends Structure { /** * @param vSource C type : HmdVector3_t
    * @param vDirection C type : HmdVector3_t
    - * @param eOrigin @see ETrackingUniverseOrigin
    + * @param eOrigin @see JOpenVRLibrary.ETrackingUniverseOrigin
    * C type : ETrackingUniverseOrigin */ public VROverlayIntersectionParams_t(HmdVector3_t vSource, HmdVector3_t vDirection, int eOrigin) { diff --git a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_ProjectionMatrix.java b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_ProjectionMatrix.java index 16a1dc6b4..7b9d66e3f 100644 --- a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_ProjectionMatrix.java +++ b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_ProjectionMatrix.java @@ -13,7 +13,7 @@ public class OSVR_ProjectionMatrix extends Structure { public double right; public double top; public double bottom; - /** < Cannot name "near" because Visual Studio keyword */ + /** Cannot name "near" because Visual Studio keyword */ public double nearClip; public double farClip; public OSVR_ProjectionMatrix() { @@ -22,7 +22,7 @@ public class OSVR_ProjectionMatrix extends Structure { protected List getFieldOrder() { return Arrays.asList("left", "right", "top", "bottom", "nearClip", "farClip"); } - /** @param nearClip < Cannot name "near" because Visual Studio keyword */ + /** @param nearClip Cannot name "near" because Visual Studio keyword */ public OSVR_ProjectionMatrix(double left, double right, double top, double bottom, double nearClip, double farClip) { super(); this.left = left; diff --git a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_RenderParams.java b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_RenderParams.java index 742175010..262b7ddb2 100644 --- a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_RenderParams.java +++ b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_RenderParams.java @@ -10,12 +10,12 @@ import java.util.List; */ public class OSVR_RenderParams extends Structure { /** - * < Room space to insert
    + * Room space to insert
    * C type : OSVR_PoseState* */ public Pointer worldFromRoomAppend; /** - * < Overrides head space
    + * Overrides head space
    * C type : OSVR_PoseState* */ public Pointer roomFromHeadReplace; @@ -28,9 +28,9 @@ public class OSVR_RenderParams extends Structure { return Arrays.asList("worldFromRoomAppend", "roomFromHeadReplace", "nearClipDistanceMeters", "farClipDistanceMeters"); } /** - * @param worldFromRoomAppend < Room space to insert
    + * @param worldFromRoomAppend Room space to insert
    * C type : OSVR_PoseState*
    - * @param roomFromHeadReplace < Overrides head space
    + * @param roomFromHeadReplace Overrides head space
    * C type : OSVR_PoseState* */ public OSVR_RenderParams(Pointer worldFromRoomAppend, Pointer roomFromHeadReplace, double nearClipDistanceMeters, double farClipDistanceMeters) { diff --git a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_ViewportDescription.java b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_ViewportDescription.java index e3528fad0..11f05bda7 100644 --- a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_ViewportDescription.java +++ b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanager/OSVR_ViewportDescription.java @@ -9,13 +9,13 @@ import java.util.List; * For help, please visit NativeLibs4Java , Rococoa, or JNA. */ public class OSVR_ViewportDescription extends Structure { - /** < Left side of the viewport in pixels */ + /** Left side of the viewport in pixels */ public double left; - /** < First pixel in the viewport at the bottom. */ + /** First pixel in the viewport at the bottom. */ public double lower; - /** < Last pixel in the viewport at the top */ + /** Last pixel in the viewport at the top */ public double width; - /** < Last pixel on the right of the viewport in pixels */ + /** Last pixel on the right of the viewport in pixels */ public double height; public OSVR_ViewportDescription() { super(); @@ -24,10 +24,10 @@ public class OSVR_ViewportDescription extends Structure { return Arrays.asList("left", "lower", "width", "height"); } /** - * @param left < Left side of the viewport in pixels
    - * @param lower < First pixel in the viewport at the bottom.
    - * @param width < Last pixel in the viewport at the top
    - * @param height < Last pixel on the right of the viewport in pixels + * @param left Left side of the viewport in pixels
    + * @param lower First pixel in the viewport at the bottom.
    + * @param width Last pixel in the viewport at the top
    + * @param height Last pixel on the right of the viewport in pixels */ public OSVR_ViewportDescription(double left, double lower, double width, double height) { super(); diff --git a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_OpenResultsOpenGL.java b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_OpenResultsOpenGL.java index e2bd8e7d6..e4da1e6da 100644 --- a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_OpenResultsOpenGL.java +++ b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_OpenResultsOpenGL.java @@ -24,7 +24,7 @@ public class OSVR_OpenResultsOpenGL extends Structure { return Arrays.asList("status", "library", "buffers"); } /** - * @param status @see OSVR_OpenStatus
    + * @param status @see OsvrRenderManagerOpenGLLibrary.OSVR_OpenStatus
    * C type : OSVR_OpenStatus
    * @param library C type : OSVR_GraphicsLibraryOpenGL
    * @param buffers C type : OSVR_RenderBufferOpenGL diff --git a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_ProjectionMatrix.java b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_ProjectionMatrix.java index 5aabd8844..21df22bdb 100644 --- a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_ProjectionMatrix.java +++ b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_ProjectionMatrix.java @@ -13,7 +13,7 @@ public class OSVR_ProjectionMatrix extends Structure { public double right; public double top; public double bottom; - /** < Cannot name "near" because Visual Studio keyword */ + /** Cannot name "near" because Visual Studio keyword */ public double nearClip; public double farClip; public OSVR_ProjectionMatrix() { @@ -22,7 +22,7 @@ public class OSVR_ProjectionMatrix extends Structure { protected List getFieldOrder() { return Arrays.asList("left", "right", "top", "bottom", "nearClip", "farClip"); } - /** @param nearClip < Cannot name "near" because Visual Studio keyword */ + /** @param nearClip Cannot name "near" because Visual Studio keyword */ public OSVR_ProjectionMatrix(double left, double right, double top, double bottom, double nearClip, double farClip) { super(); this.left = left; diff --git a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_RenderParams.java b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_RenderParams.java index ef560519d..2b63b7b3c 100644 --- a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_RenderParams.java +++ b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_RenderParams.java @@ -10,12 +10,12 @@ import java.util.List; */ public class OSVR_RenderParams extends Structure { /** - * < Room space to insert
    + * Room space to insert
    * C type : OSVR_PoseState* */ public Pointer worldFromRoomAppend; /** - * < Overrides head space
    + * Overrides head space
    * C type : OSVR_PoseState* */ public Pointer roomFromHeadReplace; @@ -28,9 +28,9 @@ public class OSVR_RenderParams extends Structure { return Arrays.asList("worldFromRoomAppend", "roomFromHeadReplace", "nearClipDistanceMeters", "farClipDistanceMeters"); } /** - * @param worldFromRoomAppend < Room space to insert
    + * @param worldFromRoomAppend Room space to insert
    * C type : OSVR_PoseState*
    - * @param roomFromHeadReplace < Overrides head space
    + * @param roomFromHeadReplace Overrides head space
    * C type : OSVR_PoseState* */ public OSVR_RenderParams(Pointer worldFromRoomAppend, Pointer roomFromHeadReplace, double nearClipDistanceMeters, double farClipDistanceMeters) { diff --git a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_ViewportDescription.java b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_ViewportDescription.java index d9ff621be..0df38e45f 100644 --- a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_ViewportDescription.java +++ b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrrendermanageropengl/OSVR_ViewportDescription.java @@ -9,13 +9,13 @@ import java.util.List; * For help, please visit NativeLibs4Java , Rococoa, or JNA. */ public class OSVR_ViewportDescription extends Structure { - /** < Left side of the viewport in pixels */ + /** Left side of the viewport in pixels */ public double left; - /** < First pixel in the viewport at the bottom. */ + /** First pixel in the viewport at the bottom. */ public double lower; - /** < Last pixel in the viewport at the top */ + /** Last pixel in the viewport at the top */ public double width; - /** < Last pixel on the right of the viewport in pixels */ + /** Last pixel on the right of the viewport in pixels */ public double height; public OSVR_ViewportDescription() { super(); @@ -24,10 +24,10 @@ public class OSVR_ViewportDescription extends Structure { return Arrays.asList("left", "lower", "width", "height"); } /** - * @param left < Left side of the viewport in pixels
    - * @param lower < First pixel in the viewport at the bottom.
    - * @param width < Last pixel in the viewport at the top
    - * @param height < Last pixel on the right of the viewport in pixels + * @param left Left side of the viewport in pixels
    + * @param lower First pixel in the viewport at the bottom.
    + * @param width Last pixel in the viewport at the top
    + * @param height Last pixel on the right of the viewport in pixels */ public OSVR_ViewportDescription(double left, double lower, double width, double height) { super(); diff --git a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrtimevalue/OsvrTimeValueLibrary.java b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrtimevalue/OsvrTimeValueLibrary.java index 36382c7ae..9af6a39af 100644 --- a/jme3-vr/src/main/java/com/jme3/system/osvr/osvrtimevalue/OsvrTimeValueLibrary.java +++ b/jme3-vr/src/main/java/com/jme3/system/osvr/osvrtimevalue/OsvrTimeValueLibrary.java @@ -73,7 +73,7 @@ public class OsvrTimeValueLibrary implements Library { /** * Compares two time values (assumed to be normalized), returning * the same values as strcmp
    - * @return <0 if A is earlier than B, 0 if they are the same, and >0 if A
    + * @return <0 if A is earlier than B, 0 if they are the same, and >0 if A
    * is later than B.
    * Original signature : int osvrTimeValueCmp(const OSVR_TimeValue*, const OSVR_TimeValue*) */ @@ -95,17 +95,17 @@ public class OsvrTimeValueLibrary implements Library { public static native byte osvrTimeValueGreater(OSVR_TimeValue tvA, OSVR_TimeValue tvB); /** * Returns true if the time value is normalized. Typically used in assertions.
    - * Original signature : bool osvrTimeValueIsNormalized(const OSVR_TimeValue&) + * Original signature : bool osvrTimeValueIsNormalized(const OSVR_TimeValue&) */ public static native byte osvrTimeValueIsNormalized(OSVR_TimeValue tv); /** - * Operator > overload for time values
    - * Original signature : bool operator>(const OSVR_TimeValue&, const OSVR_TimeValue&) + * Operator > overload for time values
    + * Original signature : bool operator>(const OSVR_TimeValue&, const OSVR_TimeValue&) */ public static native byte operatorGreater(OSVR_TimeValue tvA, OSVR_TimeValue tvB); /** * Operator == overload for time values
    - * Original signature : bool operator==(const OSVR_TimeValue&, const OSVR_TimeValue&) + * Original signature : bool operator==(const OSVR_TimeValue&, const OSVR_TimeValue&) */ public static native byte operatorIsEqual(OSVR_TimeValue tvA, OSVR_TimeValue tvB); public static class timeval extends PointerType { diff --git a/jme3-vr/src/main/java/test/TestInitHmd.java b/jme3-vr/src/main/java/test/TestInitHmd.java index 4869d4c11..a15ea732d 100644 --- a/jme3-vr/src/main/java/test/TestInitHmd.java +++ b/jme3-vr/src/main/java/test/TestInitHmd.java @@ -37,7 +37,7 @@ import com.jme3.system.AppSettings; /** * Testing OpenVR environment. - * @author Rickard + * @author Rickard (neph1 @ github) */ public class TestInitHmd {