ManevilleF / hexx

Hexagonal tools lib in rust
Apache License 2.0
288 stars 23 forks source link

Fractional version of Hex and a variant in HexLayout for converting pixel to unrounded Hex #138

Closed msparkles closed 8 months ago

msparkles commented 8 months ago

is a99fe95227762f5d5283e880c696397dd88fcb6e good enough? do we need a separate type?

ManevilleF commented 8 months ago

That seems feasible, could you explain what your use case is ?

msparkles commented 8 months ago

Lerping between two hex coords for animations

msparkles commented 8 months ago

https://github.com/automancy/automancy/blob/c7946e170fc8de220bd28c51612daab8decca53e/src/bin/automancy/renderer.rs#L205

ManevilleF commented 8 months ago

Okay, Could you open a PR ?