added doxyfile and comments
better clipping when rendering terrain patches