working triangle_2d_model