3 Vertices

Blitz3D Forums/Blitz3D Programming/3 Vertices

Is the mesh just a grid of squares?

If it is and the triangles are all in sequential order you could just use some arbitrary math to decide which triangle shares this triangles hypot.