mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Collision various fixes (#9343)
This commit is contained in:
parent
c1742b0901
commit
3ad5388c6d
4 changed files with 141 additions and 149 deletions
|
@ -77,7 +77,7 @@ collisionMoveResult collisionMoveSimple(Environment *env,IGameDef *gamedef,
|
|||
// dtime receives time until first collision, invalid if -1 is returned
|
||||
CollisionAxis axisAlignedCollision(
|
||||
const aabb3f &staticbox, const aabb3f &movingbox,
|
||||
const v3f &speed, f32 d, f32 *dtime);
|
||||
const v3f &speed, f32 *dtime);
|
||||
|
||||
// Helper function:
|
||||
// Checks if moving the movingbox up by the given distance would hit a ceiling.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue