16// NSRect/Point/Size/etc and CGRect/Point/Size are functionally identical, but cast differently. these macros provide a single interface for this functionality to simplify things.
311// NOTE: this macro will not function correctly if you forget to glEnable(texTarget) or glEnableClientState() for GL_VERTEX_ARRAY and GL_TEXTURE_COORD_ARRAY.
312// 'texName' is the texture name (from glGenTextures())
313// 'texTarget' is the target (GL_TEXTURE_RECTANGLE_EXT or GL_TEXTURE_2D
314// 'texFlipped' is BOOL- whether or not tex is flipped vertically
315// 'srcRect' is the coords of the tex to draw. REMEMBER: GL_TEXTURE_2D coords are NORMALIZED!
316// 'dstRect' are the coords of the rect to draw the tex in.