removed debug prints from _slide_collision solver
parent
4271ee8f8d
commit
43fa322409
|
@ -260,8 +260,6 @@ void _slide_collision(object_t* this, object_t* other, float old_x, float old_y,
|
||||||
const float d = _get_overlap(this, other, &dx, &dy);
|
const float d = _get_overlap(this, other, &dx, &dy);
|
||||||
this->sprite.x += dx;
|
this->sprite.x += dx;
|
||||||
this->sprite.y += dy;
|
this->sprite.y += dy;
|
||||||
printf("collision solving step: %f %f, distance: %f\n", dx, dy, d);
|
|
||||||
printf("collision solved, resulting position: %f, %f\n", this->sprite.x, this->sprite.y);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
this->sprite.x = old_x;
|
this->sprite.x = old_x;
|
||||||
|
|
Loading…
Reference in New Issue