From 1fa62f0e26188946faaedda1b99a76667000e9ca Mon Sep 17 00:00:00 2001 From: Paul Kashofer Date: Tue, 16 May 2023 18:27:13 +0200 Subject: [PATCH] Variables should start with lower-case. (#2013) New PullRequest as suggested in #2012 Co-authored-by: Starcommander --- .../com/jme3/input/vr/lwjgl_openvr/LWJGLOpenVR.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jme3-vr/src/main/java/com/jme3/input/vr/lwjgl_openvr/LWJGLOpenVR.java b/jme3-vr/src/main/java/com/jme3/input/vr/lwjgl_openvr/LWJGLOpenVR.java index 30c4ec2c99..c0574bc46d 100644 --- a/jme3-vr/src/main/java/com/jme3/input/vr/lwjgl_openvr/LWJGLOpenVR.java +++ b/jme3-vr/src/main/java/com/jme3/input/vr/lwjgl_openvr/LWJGLOpenVR.java @@ -48,7 +48,7 @@ public class LWJGLOpenVR implements VRAPI { private Vector3f hmdPoseLeftEyeVec, hmdPoseRightEyeVec, hmdSeatToStand; - private LWJGLOpenVRInput VRinput; + private LWJGLOpenVRInput vrInput; private VREnvironment environment = null; @@ -91,7 +91,7 @@ public LWJGLOpenVR(VREnvironment environment){ @Override public LWJGLOpenVRInput getVRinput() { - return VRinput; + return vrInput; } @Override @@ -158,9 +158,9 @@ public boolean initialize() { hmdDisplayFrequency.get(0); TrackedDevicePose.create(VR.k_unMaxTrackedDeviceCount); // init controllers for the first time - VRinput = new LWJGLOpenVRInput(environment); - VRinput.init(); - VRinput.updateConnectedControllers(); + vrInput = new LWJGLOpenVRInput(environment); + vrInput.init(); + vrInput.updateConnectedControllers(); // init bounds & chaperone info LWJGLOpenVRBounds bounds = new LWJGLOpenVRBounds(); @@ -431,4 +431,4 @@ public void setTrackingSpace(boolean isSeated){ public Matrix4f[] getPoseMatrices() { return poseMatrices; } -} \ No newline at end of file +}