mirror of
https://github.com/pkali/scorch_src.git
synced 2026-05-20 22:34:21 +02:00
[GH-ISSUE #82] Wind could be a single signed byte (-128..127) #252
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pkali on GitHub (May 28, 2022).
Original GitHub issue: https://github.com/pkali/scorch_src/issues/82
Now it is unsigned byte and wind direction is saved in the
WindOrientationflag. Switching to a signed byte would make it possible to remove redundant code.@pkali commented on GitHub (Jun 4, 2022):
oh boy, I thought it would be a nice walk in the park at the beginning of the weekend, but it turned out to be more difficult than expected.
Good point is that the whole Flight routine got significantly simpler now!
Not only Wind is now signed, but also
vxis signed, too. Unfortunately, they are 4 bytes each, not really a speedup here :)