}
public static Node createTriIds(ArrayList<Vector2f> vertices, BitmapFont guiFont) {
if ((vertices.size() > 2) && ((vertices.size() % 3) == 0)) {
Node node = new Node("triIds");
BillboardControl bc;
BitmapText vertId;
for (int i = 0; i < vertices.size(); i += 3) {
tri.set(0, vertices.get(i).x, vertices.get(i).y, 0);
tri.set(1, vertices.get(i + 1).x, vertices.get(i + 1).y, 0);
tri.set(2, vertices.get(i + 2).x, vertices.get(i + 2).y, 0);
tri.calculateCenter();
bc = new BillboardControl();
vertId = new BitmapText(guiFont, false);
vertId.setSize(.1f);
vertId.setText("tri " + (i / 3));
vertId.setLocalTranslation(tri.getCenter());
vertId.addControl(bc);