messed around with incorporating glVertex2i into mapPixel and incorporating the pathfinding algorithm in conjunction with the scaling factor. We will also need to take into account the current rotation angle