1.0.8 • Published 5 years ago

@alexbol99/collision_distance v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

collision_distance

Algorithm to calculate one-dimensional collision distance between two shapes

Let we have 2 not intersecting arbitrary polygons A and B in 2-d plane so that x-distance between two bounding boxes is d > 0. We want to find minimal translation vector t(x,0) so that polygon B after translation will collide with polygon A at least in one point.

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago