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

Int typo in EvenR hexagon #16

Open
andrew-saydjari opened this issue Dec 27, 2020 · 0 comments
Open

Int typo in EvenR hexagon #16

andrew-saydjari opened this issue Dec 27, 2020 · 0 comments

Comments

@andrew-saydjari
Copy link

function convert(::Type{HexagonCubic}, hex::HexagonOffsetEvenR)
x = hex.q - (hex.r >> 1) + int(isodd(hex.r))
z = hex.r
y = -x - z
HexagonCubic(x, y, z)
end

should read with correct capitalization of "int"

function convert(::Type{HexagonCubic}, hex::HexagonOffsetEvenR)
x = hex.q - (hex.r >> 1) + Int(isodd(hex.r))
z = hex.r
y = -x - z
HexagonCubic(x, y, z)
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant