This function does not want to work. I want to say that my usual gizmos work on OpenGL and DirectX 11, so I'm sure that this function is the problem. I noticed that it accepts the view and projection of the matrix, and 3 more parameter 'matrix', and I don't quite understand what exactly this matrix is. Camera transformation matrix or what?
Hey everyone!
This function does not want to work. I want to say that my usual gizmos work on OpenGL and DirectX 11, so I'm sure that this function is the problem. I noticed that it accepts the view and projection of the matrix, and 3 more parameter 'matrix', and I don't quite understand what exactly this matrix is. Camera transformation matrix or what?
In general, here's what I got:
I think problem was in that because im use glm::inverse on view matrix, but i removed it what i got:
Any suggestions? I will be very grateful!