C++畫房子

#include <GL/glut.h> void display() { //clear all pixels glClear(GL_COLOR_BUFFER_BIT); glColor3f(0.5451,0.27059,0.0); //設置顏色爲棕色 glBegin(GL_POLYGON); glVertex3f(0.5,0.75,0); glVertex3f(1.0,0.25,
相關文章
相關標籤/搜索