mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Spacing fixes
This commit is contained in:
@@ -153,7 +153,7 @@ CollisionAxis axisAlignedCollision(
|
||||
(std::max(movingbox.MaxEdge.Z + speed.Z * time, staticbox.MaxEdge.Z)
|
||||
- std::min(movingbox.MinEdge.Z + speed.Z * time, staticbox.MinEdge.Z)
|
||||
- relbox.MinEdge.Z < 0)
|
||||
)
|
||||
)
|
||||
return COLLISION_AXIS_X;
|
||||
}
|
||||
} else {
|
||||
@@ -180,7 +180,7 @@ CollisionAxis axisAlignedCollision(
|
||||
(std::max(movingbox.MaxEdge.Y + speed.Y * time, staticbox.MaxEdge.Y)
|
||||
- std::min(movingbox.MinEdge.Y + speed.Y * time, staticbox.MinEdge.Y)
|
||||
- relbox.MinEdge.Y < 0)
|
||||
)
|
||||
)
|
||||
return COLLISION_AXIS_Z;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user