added a bunch of functions for rendering quads.