I made this orginally to have in IrrSED2, but I removed it. Scene editors don't really need a grid.
Code: Select all
for(float i = -10; i <= 10; i += 1)
{
_driver->draw3DLine(vector3df(-20,0,i*3),vector3df(20,0,i*3),
SColor(255, 255, 255, 255));
_driver->draw3DLine(vector3df(i*3,0,-20),vector3df(i*3,0,20),
SColor(255, 255, 255, 255));
}