diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-04-04 00:43:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 00:43:08 +0200 |
commit | a90d27e1e23fa1c369c05a4d9c6083aa86ef7f52 (patch) | |
tree | 39f8d58d7ff29ae57a06e4239ae0b49b6dbed050 /src/chat.cpp | |
parent | 05fe3b06c80fc7fa438ed5faf5805c79a92789e9 (diff) | |
download | minetest-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/chat.cpp')
0 files changed, 0 insertions, 0 deletions