Skip to content

Commit

Permalink
Add note about cardinal ordering of network flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
chances committed Mar 23, 2024
1 parent da8f3ec commit d582897
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/files/rul.d
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ auto rulParser() {
import std.string : replace;
import std.typecons : No, Yes;

/// Note: RUL0 & RUL1 rules use SENW ordering. This function expects WNES ordering.
NetworkFlag toNetworkFlag(Flag[] flags) {
assert(flags.length == 4);
assert(flags.all!((flag) {
Expand Down

0 comments on commit d582897

Please sign in to comment.