Genbox / VelcroPhysics

High performance 2D collision detection system with realistic physics responses.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Distance calculation is wrong

Genbox opened this issue · comments

While creating the benchmark in #20 I noticed a problem with the distance calculation in Velcro.

image

image

Seems like the gift wrapping of the polygons changes the vertices of the polygon.