added polygonmode, examples/lesson10, examples/lesson11