Skip to content

Commit

Permalink
fix: remove alt modifications on encoders (damn you autocomplete!)
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-Kris committed Apr 8, 2024
1 parent 40c4a2c commit 1fb8185
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public class CamLookAtEasedAngleAbsoluteEncoder : MessageEncoder<CamLookAtEasedA
buffer.p2(message.yAngle)
buffer.p2(message.xAngle)
buffer.p2(message.duration)
buffer.p2Alt1(message.function.id)
buffer.p1(message.function.id)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public class CamLookAtEasedAngleRelativeEncoder : MessageEncoder<CamLookAtEasedA
buffer.p2(message.yAngle)
buffer.p2(message.xAngle)
buffer.p2(message.duration)
buffer.p2Alt1(message.function.id)
buffer.p1(message.function.id)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class CamLookAtEncoder : MessageEncoder<CamLookAt> {
message: CamLookAt,
) {
buffer.p1(message.destinationXInBuildArea)
buffer.p2Alt1(message.destinationZInBuildArea)
buffer.p2(message.destinationZInBuildArea)
buffer.p2(message.height)
buffer.p1(message.speed)
buffer.p1(message.acceleration)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class CamMoveToEasedCircularEncoder : MessageEncoder<CamMoveToEasedCircul
message: CamMoveToEasedCircular,
) {
buffer.p1(message.destinationXInBuildArea)
buffer.p2Alt1(message.destinationZInBuildArea)
buffer.p1(message.destinationZInBuildArea)
buffer.p2(message.height)
buffer.p1(message.centerXInBuildArea)
buffer.p1(message.centerZInBuildArea)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class CamMoveToEasedEncoder : MessageEncoder<CamMoveToEased> {
message: CamMoveToEased,
) {
buffer.p1(message.destinationXInBuildArea)
buffer.p2Alt1(message.destinationZInBuildArea)
buffer.p1(message.destinationZInBuildArea)
buffer.p2(message.height)
buffer.p2(message.duration)
buffer.pboolean(!message.maintainFixedAltitude)
Expand Down

0 comments on commit 1fb8185

Please sign in to comment.