fix #10 make sure primitives always have CCW winding