Finished triangle plane mesh code.