removed dead code from triangleXX.cpp files