Changed polygon drawing to use matrixes instead of recalculating vertices on rotation-change, to avoid inner-loop allocations.