Update Triangle.cpp