Untitled
unknown
plain_text
2 years ago
224 B
6
Indexable
void init()
{
int i, j;
for(i=0;i<GSIZE;i++)
for(j=0;j<GSIZE;j++)
ground[i][j] = 5*sin(i/5.0);
// R G B
glClearColor(0.5,0.8,1,0);// color of window background
glEnable(GL_DEPTH_TEST);
Editor is loading...