added collide to background surface to fix build
Merge branch 'collision_state' into mesh
initial version of vertex simplification algoritm