unsigned int SizeY = 2;
- for (unsigned int x =0;x<GridSizeX;++x)
- for (unsigned int y =0;y<GridSizeY;++y)
+ for (unsigned int x =-GridSizeX;x<GridSizeX;++x)
+ for (unsigned int y =-GridSizeY;y<GridSizeY;++y)
{
if ((x+y)%2) //modulo 2
glColor3f(1.0f,1.0f,1.0f); //white