Não usou array, rand. Não fez nem {interpola1}, nem os objetos vértice.