Skip to content

Commit

Permalink
Variables should start with lower-case.
Browse files Browse the repository at this point in the history
New PullRequest as suggested in jMonkeyEngine#2012
  • Loading branch information
Starcommander committed May 16, 2023
1 parent 375015f commit a29c19d
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class LWJGLOpenVR implements VRAPI {

private Vector3f hmdPoseLeftEyeVec, hmdPoseRightEyeVec, hmdSeatToStand;

private LWJGLOpenVRInput VRinput;
private LWJGLOpenVRInput vrInput;

private VREnvironment environment = null;

Expand Down Expand Up @@ -91,7 +91,7 @@ public LWJGLOpenVR(VREnvironment environment){

@Override
public LWJGLOpenVRInput getVRinput() {
return VRinput;
return vrInput;
}

@Override
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -431,4 +431,4 @@ public void setTrackingSpace(boolean isSeated){
public Matrix4f[] getPoseMatrices() {
return poseMatrices;
}
}
}

0 comments on commit a29c19d

Please sign in to comment.