Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch int digit to an enum, Direction #77

Merged
merged 5 commits into from
Jun 15, 2018

Commits on Jun 11, 2018

  1. Switch int digit to an enum, Direction

    Attempt to clarify when a direction digit is expected and when it is not. C permits arithmetic and assignment of ints/enums so this is not able to catch many issues at compile time.
    
    Also update copyright headers and replace 0 with H3_INVALID_INDEX when applicable.
    Isaac Brodsky committed Jun 11, 2018
    Configuration menu
    Copy the full SHA
    4de5fb6 View commit details
    Browse the repository at this point in the history
  2. Add CHANGELOG for Direction enum

    Isaac Brodsky committed Jun 11, 2018
    Configuration menu
    Copy the full SHA
    b3a722d View commit details
    Browse the repository at this point in the history
  3. Extract NEW_DIGIT_II, etc from h3NeighborRotations

    The aperture 7 traversal tables are now file level constants, and use the same constants as elsewhere.
    
    Also fix JK_AXES_DIGIT ordering
    Isaac Brodsky committed Jun 11, 2018
    Configuration menu
    Copy the full SHA
    c7e734e View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2018

  1. Add LAST_DIGIT

    Isaac Brodsky committed Jun 12, 2018
    Configuration menu
    Copy the full SHA
    f67dfaa View commit details
    Browse the repository at this point in the history
  2. Rename to NUM_DIGITS

    Also fix formatting and fix another instance where an untyped direction is used
    Isaac Brodsky committed Jun 12, 2018
    Configuration menu
    Copy the full SHA
    28bd51b View commit details
    Browse the repository at this point in the history