void ScrollingSpriteRenderer::render(GameWindow& gameWindow, float percBehind)
{
	if(oldCamPos_ != gameWindow.getCamera().getPos())
		advanceQuads(gameWindow);
	renderQuads(gameWindow, percBehind);
	oldCamPos_ = gameWindow.getCamera().getPos();
}
void ScrollingSpriteRenderer::advanceQuads(GameWindow& gameWindow)
{
	for (int i = 0; i < N_QUADRANTS; i++)
	{
		Point currCam = gameWindow.getCamera().getPos();
		quads[i].advance(findXBound(currCam), findYBound(currCam));
	}
}