void glutSolidCube ( GLdouble size ); ... house glPushMatrix(); glutSolidCube(2); // building glTranslatef(0,1,0); glPushMatrix(); // roof ...
確定! 回上一頁