def draw(self,drawResourcesFactories,x0,y0,x1,y1,tileCenter,collision):
        for LOD,drawResourcesFactory in drawResourcesFactories.iteritems():
            tile=drawResourcesFactory.getTile()
            
            grid=self.gridSize*self.scalar
            x=math.ceil(x0/grid)*grid
            while x<x1:
                y=math.ceil(y0/grid)*grid
                while y<y1:
                    self.drawItem(LOD,x,y,drawResourcesFactory,tile,tileCenter,collision)
                    y+=grid
                x+=grid
dataset/ETHPy150Open Craig-Macomber/Panda3D-Terrain-System/meshManager/gridFactory.py/GridFactory.draw/original