generate triangles for both sections of the rects
Structure f or spinning