X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=flatland.git;a=blobdiff_plain;f=universe.h;h=c80bf2cf240782929ab9c78732202862597788a0;hp=11dacc719ff08b446dcea535e4c465b7e839497a;hb=2cd32038873961c8ff3861efb218fad75fbcbf69;hpb=546ec5453243e2efbf8c3caefdc04394ca87676d diff --git a/universe.h b/universe.h index 11dacc7..c80bf2c 100644 --- a/universe.h +++ b/universe.h @@ -56,7 +56,7 @@ public: // axis to speed up the computation void compute_pseudo_collisions(int nb_axis, int *nb_colliding_axis); void apply_collision_forces(scalar_t dt); - bool update(scalar_t dt); + bool update(scalar_t dt, scalar_t padding); Polygon *pick_polygon(scalar_t x, scalar_t y);