I am trying to draw an inscribed 7 side polygon (centred on 0,0,0), where a curve goes from each point through the origin to the 2nd next point; for example point 0 (through origin(0,0,0)) to point 2.
Psuedocode would be:
For each point
draw curve from prevI to nextI
Problem: Curve takes vector start, and vector end.
I am able to get the prevI and nextI but how do I access the vector position for that Index (to give to my curve)?