I am using column-major with view matrix. If using row-major, it causes quaternion rotation confusing opposite effects that I tried to rotate or move object. With column-major, I was able move or rotate object correctly.
GLM, by default, generates matrices in column major order. So… that’s what all of its functions will do.
It’s best to pick a major ordering and stick with it everywhere. There shouldn’t be places in your code that are row major and other places that are column major. It’s an arbitrary convention, and the only advantage you might have with a particular ordering is that you’re using tools that support that ordering.
GLM is a column-major system by default. GLSL interface blocks also presume column-major ordering. So… do that. If you’re using some other tools that generate row-major matrices, then convert those matrices to column-major at the point where you’re using those other tools.
Also, I don’t see any matrices in any of your code, so its unclear where exactly you are “using major-row view matrix”.