1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Cleanup various headers to reduce compilation times (#6255)

* Cleanup various headers to reduce compilation times
This commit is contained in:
Loïc Blot 2017-08-16 22:11:45 +02:00 committed by GitHub
parent 816bca32ac
commit 85511a642f
51 changed files with 94 additions and 84 deletions

View file

@ -144,7 +144,9 @@ public:
void setCollisionbox(const aabb3f &box) { m_collisionbox = box; }
private:
// clang-format off
void accelerateHorizontal(const v3f &target_speed, f32 max_increase, bool slippery);
// clang-format on
void accelerateVertical(const v3f &target_speed, const f32 max_increase);
bool updateSneakNode(Map *map, const v3f &position, const v3f &sneak_max);