move clearTrackersDriftCompensation to vrserver

This commit is contained in:
Louka committed 2023-01-26 17:55:32 -05:00
1 parent 3ee4e19a92
commit 381cf13459
3 files changed
+10 -15

No files matched your search

@@ -33,16 +33,6 @@ public class DriftCompensationConfig {
}
}
public void clearTrackersDriftCompensation() {
for (Tracker t : Main.getVrServer().getAllTrackers()) {
Tracker tracker = t.get();
if (tracker instanceof IMUTracker imuTracker) {
imuTracker.clearDriftCompensation();
}
}
}
public boolean getEnabled() {
return enabled;
}