Let's say I'm making a 3D snake. Instead of using a Display List for each limb of the snake for animation, I want to make triangles be shared between them. I have attached an example image.
The top two points of the green rectangle are set to a translation and rotation relative to the origin of the red rectangle no matter the rotation of either.
I can provide better diagrams/explanations if necessary.
Are there examples online anywhere? Would vertex arrays be perfect for this? Are Display Lists a possibility at all? Thank you for your time!