| Commit message (Collapse) | Author | Age | Lines |
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Before, the grid was calculated accumutatively, which was pretty
alright. However, with some zoom levels towards the bottom of the
screen there was a discrepancy between the grid and something drawn.
This should be fixed now, since this update makes the grid use the same
method of calculation for every grid cell that everything else uses to
calculate points. Also, sub-pixel positions are rounded for the grid,
while they were floored before, which should improve accuracy.
|
| | |
|
| |
|
|
|
| |
0.5 was used as a magical number throughout the code for that until now,
which I now changed.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
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.
|