src/utils/data3d/buffer/triangulate-2d.js
function equals (data, p1, p2) {
  return data[p1] === data[p2] && data[p1 + 1] === data[p2 + 1]
}
function equals (data, p1, p2) {
  return data[p1] === data[p2] && data[p1 + 1] === data[p2 + 1]
}
function equals ( data , p1 , p2 ) { return data [ p1 ] === data [ p2 ] && data [ p1 + 1 ] === data [ p2 + 1 ] }
check if two points are equal
check if two points are equal