add compare
add distance and corresponding test
triangle
circle
fix bugs in triangle test
scene