support generating plane geometry.

maybe such objects should be optimized? it's quite expensive to draw
such simple things. or maybe buffering the draw calls would help. not
sure.