📜  gl 画线矩形 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:48.351000             🧑  作者: Mango

代码示例1
glBegin(GL_LINE_LOOP) ;
    glVertex3f(0.0, 0.0, 0.0);
    glVertex3f(0.0, 0.5, 0.0);
    glVertex3f(0.5, 0.5, 0.0);
    glVertex3f(0.5, 0.0, 0.0);
glEnd() ;