Hi, I’m wondering how to twist a line into a 3D figure 8 in openGL. Or for that matter any shape. I was using the trig identity Y=sinX+cosX to twist a line into circle in 2D, but i’m not sure where I’m going wrong for 3D.
this would be massive help! just want to make lines go where i want them to go in 3D space.