Program to draw a color cube and spin it using OpenGL transformation matrices. 1. Define global arrays for vertices and colors. GLfloat vertices[][3] = {{-1.0,- ...
確定! 回上一頁