am trying to get uniqueID in the following segment of code to count how many times the if statement gets used, but all i get is a list of 1's. Any ideas??
if (is_tri == true) {
//add the triangle to the list
unsigned int uniqueID = 0;
uniqueID++;
cout<< uniqueID << " ";
triangle d_tri(uniqueID, (*nodeVec[i]), (*nodeVec[j]), (*nodeVec[k]));
ListElement *p = new triangle(d_tri);
triList.AddElement(p);
}