We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The calculateRingFrom function is not correct since the return set is never modified, so it's always empty.
Take a look at the implementation here:
https://github.com/Hexworks/mixite/blob/97cf0d0ccce96401318aaa5c4e474310b6cf38ac/mixite.core/core/src/main/kotlin/org/hexworks/mixite/core/internal/impl/HexagonalGridCalculatorImpl.kt
The text was updated successfully, but these errors were encountered:
Also, I think that there is a for loop missing as well, it should loop between neighborIndexes 0..5 (if you check, neighborIndex is never modified).
Sorry, something went wrong.
You're right. I'm not sure how it ended up this way (I don't remember) but I think that this is an incomplete implementation.
Successfully merging a pull request may close this issue.
The calculateRingFrom function is not correct since the return set is never modified, so it's always empty.
Take a look at the implementation here:
https://github.com/Hexworks/mixite/blob/97cf0d0ccce96401318aaa5c4e474310b6cf38ac/mixite.core/core/src/main/kotlin/org/hexworks/mixite/core/internal/impl/HexagonalGridCalculatorImpl.kt
The text was updated successfully, but these errors were encountered: