Hi,

I have a problem that I'm unable to resolve.

I'm trying to draw small XYZ axes in the corner like a lot of programs. The problem is that all the codes I produce or all the codes I find on the web draw the axes like in an Ortho view (such as here and here).

Indeed, the vertical axis (Z in my case) is always vertical, even when it is not in my perspective view.

Here is an exemple :

Thanks,

Benjamin