Example : glColor3f(0.0, 0.0, 0.0); glColor3f(r, g, b); red = 0, blue = 0, ... (Hint: Before the glBegin(GL_POLYGON); line put a glTranslatef(x, y, ...
確定! 回上一頁