Skip to content

Variables should start with lower-case. #2013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
}
}