atlas/web/_js
Fabian Wunsch bf834a6565 Cleaned up calculateCenter function
While I still don't understand what it's doing exactly, I noticed that
the 2 iterations of the loop are unnecessary, and afterwards found out
that the change to area is equal to f. Furthermore I replaced the `~~`
flooring with Math.floor for better readability, since this function
get's executed once per submission and the speed benefits of `~~` are
neglectable.
2022-04-09 21:04:08 +02:00
..
atlas.js Remove redundant here and link "our Discord server" instead 2022-04-09 16:33:10 +07:00
draw.js Cleaned up calculateCenter function 2022-04-09 21:04:08 +02:00
infoblock.js Use commas instead of x for coords 2022-04-09 16:33:10 +07:00
main.js Refactor to avoid code duplicates 2022-04-09 16:33:10 +07:00
overlap.js Refactor to avoid code duplicates 2022-04-09 16:33:10 +07:00
pointInPolygon.js Reduce copyright notice, add 2022 contributors, add missing notice 2022-04-09 16:33:10 +07:00
stats.js Reduce copyright notice, add 2022 contributors, add missing notice 2022-04-09 16:33:10 +07:00
time.js Reduce copyright notice, add 2022 contributors, add missing notice 2022-04-09 16:33:10 +07:00
view.js Console logs haven't been removed?! 2022-04-09 17:24:30 +07:00