aboutsummaryrefslogtreecommitdiff
path: root/src/grid.rs
Commit message (Collapse)AuthorAgeLines
* Add constant for the grid accuracyArne Dußin2020-11-10-0/+3
| | | | | 0.5 was used as a magical number throughout the code for that until now, which I now changed.
* Add icon toolArne Dußin2020-11-06-0/+10
|
* Make zoom-levels whole numbers to combat round-errArne Dußin2020-11-01-1/+22
| | | | | | | | The grid was offset at certain zoom-levels and lower positions, so for now I just made only whole zoom-levels possible, which removes the offset. However, I consider this a band-aid-solution. Maybe change from f32 to f64 and try out if that fixes it? Otherwise, a different algorithm might work.
* Rewrite project to use raylib instead of pistonArne Dußin2020-10-30-0/+38
Sorry piston.. I really tried liking you, but I just couldn't :/ It's not you, it's me. What am I saying? It's you, sorry not sorry.