Triangle component implemented.