@ThinBuffalo do you know if tangent is useful for 3D rotating?
It seems like it to me.
Ok now let’s wait…
It’s far too in depth of a topic to try and repeat all the necessary explanations here, so I’ll point you to a couple external resources
https://en.m.wikipedia.org/wiki/3D_projection (see perspective projection, part way down)