modify Rendering.drawTexturedQuad to accept dimensions instead of end coordinates