30. OpenGL Circle Drawing · for (int i = 0;i < 180;i++) { Now to set up the current x value that we need for our vertex · circle.x = r * cos(i) – h; Then to set ...
確定! 回上一頁