Replace the polygon declaration part of square.cpp of Chapter 2 with: glPolygonMode(GL FRONT, GLLINE); glPolygonMode(GL BACK, GLFILL); glBegin(GL POLYGON); ...
確定! 回上一頁