Example : glColor3f(0.0, 0.0, 0.0); glColor3f(r, g, b); red = 0, blue = 0, green = 0. ... eg: glRotatef(20, 1.0, 0.0, 0.0); rotates 20 degrees on the x-axis
確定! 回上一頁