fixed some bugs from last commit
render.* now uses the double variant since thats what lua numbers are
cleanup and ensuring there are no fractions in translate
wrap defaults to GL_CLAMP_TO_BORDER