removed debug prints from _slide_collision solver

pull/7/head
Sara 2023-06-24 20:34:35 +02:00
parent 4271ee8f8d
commit 43fa322409
1 changed files with 0 additions and 2 deletions

View File

@ -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;