Untitled

 avatar
unknown
plain_text
a year ago
224 B
3
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...