Fix angle transform math.
Update generated primitives