OpenGL 平面圓繪製與貼圖

                兩種畫圓的方法,DrawCircle2()爲一般的做法,利用GL_LINE_STRIP實現, void DrawCircle2(float cx, float cy, float r, int num_segments){ glBegin(GL_LINE_STRIP); for (int i = 0; i <= num_segments; i++) {  glVer
相關文章
相關標籤/搜索