Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
224 B
3
Indexable
Never
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);