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

Relatively snappy object-ground collision detection

This commit is contained in:
Perttu Ahola 2011-11-21 14:36:21 +02:00
parent 94feb62b08
commit 290e921920
9 changed files with 81 additions and 31 deletions

View file

@ -28,9 +28,11 @@ class IGameDef;
struct collisionMoveResult
{
bool touching_ground;
bool collides;
collisionMoveResult():
touching_ground(false)
touching_ground(false),
collides(false)
{}
};