How can i merge two triangles together?
OpenStax
How to Accurately Sew Together a Triangle Quilt
Torah and Mathematics: When Two Triangles Make a Square
In opengl at least at beginner levels , entire objects are created by chaining together single commands.
PopMatrix ; If this is just for an example then this code should be fine.