aboutsummaryrefslogtreecommitdiff
path: root/src/util/numeric.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2018-04-04 00:43:08 +0200
committerGitHub <noreply@github.com>2018-04-04 00:43:08 +0200
commita90d27e1e23fa1c369c05a4d9c6083aa86ef7f52 (patch)
tree39f8d58d7ff29ae57a06e4239ae0b49b6dbed050 /src/util/numeric.h
parent05fe3b06c80fc7fa438ed5faf5805c79a92789e9 (diff)
downloadminetest-a90d27e1e23fa1c369c05a4d9c6083aa86ef7f52.tar.gz
minetest-a90d27e1e23fa1c369c05a4d9c6083aa86ef7f52.tar.bz2
minetest-a90d27e1e23fa1c369c05a4d9c6083aa86ef7f52.zip
Optimize a little bit isBlockInSight, adjustDist & collisions (#7193)
* Use constexpr + unroll some calculations to cache definitively some calculations * Unroll some calls in collision code & use a constref instead of a copy in one occurence
Diffstat (limited to 'src/util/numeric.h')
0 files changed, 0 insertions, 0 deletions