Skip to content

Commit

Permalink
Monor changes, added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Eirenliel committed Jun 28, 2022
1 parent b3efcd1 commit d1a02c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/slimevr/poserecorder/TrackerFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,6 @@ public UDPDevice getDevice() {

@Override
public Tracker get() {
return null;
return this;
}
}
5 changes: 5 additions & 0 deletions src/main/java/dev/slimevr/vr/trackers/Tracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ static int getNextLocalTrackerId() {

Device getDevice();

/**
* Returns the real tracker behind this tracker. In case this tracker
* transforms another tracker like {@link ReferenceAdjustedTracker}, this
* will return the tracker it modifies. Otherwise, it will return itself.
*/
Tracker get();

default String getDescriptiveName() {
Expand Down

0 comments on commit d1a02c5

Please sign in to comment.