I can't seem to find an answer to what I thought should be a fairly straightforward problem.
I'm trying to get the z-rotation of a matrix which represents the scale, transform and rotation of an orthogonal projection which always looks towards Z. Just the rotation around Z.
I realise that there may not be a solution that covers 100% of uses (non-affine, skew, etc), but I just need one for this case.
Purpose is to get something else working (just need to fudge this part together for now) in a simple CAD viewer.