Skip to content

Commit d229449

Browse files
committed
Upgrade LWJGL to 3.3.0
1 parent 3448bc2 commit d229449

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

common.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ tasks.withType(JavaCompile) { // compile-time options:
2525
}
2626

2727
ext {
28-
lwjgl3Version = '3.2.3' // used in both the jme3-lwjgl3 and jme3-vr build scripts
28+
lwjgl3Version = '3.3.0' // used in both the jme3-lwjgl3 and jme3-vr build scripts
2929
}
3030

3131
repositories {

jme3-vr/src/main/java/com/jme3/input/vr/lwjgl_openvr/LWJGLOpenVR.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@
1515
import java.util.logging.Level;
1616
import java.util.logging.Logger;
1717
import org.lwjgl.BufferUtils;
18-
import org.lwjgl.openvr.HmdMatrix34;
19-
import org.lwjgl.openvr.HmdMatrix44;
20-
import org.lwjgl.openvr.TrackedDevicePose;
21-
import org.lwjgl.openvr.VR;
22-
import org.lwjgl.openvr.VRCompositor;
23-
import org.lwjgl.openvr.VRSystem;
18+
import org.lwjgl.openvr.*;
2419

2520
/**
2621
* A class that wraps an <a href="https://github.com/ValveSoftware/openvr/wiki/API-Documentation">OpenVR</a> system.
@@ -235,7 +230,7 @@ public boolean isInitialized() {
235230

236231
@Override
237232
public void reset() {
238-
VRSystem.VRSystem_ResetSeatedZeroPose();
233+
VRChaperone.VRChaperone_ResetZeroPose(VR.ETrackingUniverseOrigin_TrackingUniverseSeated);
239234
hmdSeatToStand = null;
240235
}
241236

0 commit comments

Comments
 (0)