fix: physics world will now include the median point in the right collision set
This commit is contained in:
parent
87c976824e
commit
f3f48780c0
|
@ -84,7 +84,7 @@ void _internal_physics_narrow_collision() {
|
|||
|
||||
PhysicsEntity* right = NULL;
|
||||
list_foreach(PhysicsEntity*, left, &_world_bodies) {
|
||||
for(size_t right_index = 0; right_index < half_end; ++right_index) {
|
||||
for(size_t right_index = 0; right_index <= half_end; ++right_index) {
|
||||
right = list_at_as(PhysicsEntity, &_world_bodies, right_index);
|
||||
|
||||
if(left->data == right->data) continue;
|
||||
|
|
Loading…
Reference in a new issue