docs: public static IndexedTriangleMesh toIndexed(TriangleMesh mesh) {
  		if (mesh instanceof IndexedTriangleMesh) return (IndexedTriangleMesh)mesh;
  		if (mesh instanceof PointList) return new TriangleSetImpl((PointList)mesh);
  		TriangleListIterator iterator = mesh.iterateTriangles();
  		List<Vector3> vertices=new ArrayList<Vector3>();
  		while (iterator.hasNext()) {
  			iterator.next();
  			vertices.add(iterator.getV1());
  			vertices.add(iterator.getV2());
  			vertices.add(iterator.getV3());
  		}
  		return new TriangleSetImpl(vertices);
  	}