Skip to content

Commit

Permalink
Update the struct to also include the new naming attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
TheComputer314 committed Dec 13, 2024
1 parent 275b807 commit 45c79a0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ public int getSize() {

@Override
public String getSchema() {
return "Translation2d startPosition;Translation2d vector";
return "Translation2d startPoint;Translation2d vector";
}

@Override
public BoundVector2d unpack(ByteBuffer bb) {
var startPosition = Translation2d.struct.unpack(bb);
var startPoint = Translation2d.struct.unpack(bb);
var vector = Translation2d.struct.unpack(bb);
return new BoundVector2d(startPosition, vector);
return new BoundVector2d(startPoint, vector);
}

@Override
Expand Down

0 comments on commit 45c79a0

Please sign in to comment.