Im confuse, when you said scale rotate and translate does that mean like this
model = glm::translate(model, glm::vec3(1.0f));
model = glm::rotate(model, -90.0f, glm::vec3(1.0f, 0.0f, 0.0f));
model = glm::scale(model, glm::vec3(0.1f, 0.1f, 0.5f));
or like this
model = glm::scale(model, glm::vec3(0.1f, 0.1f, 0.5f));
model = glm::rotate(model, -90.0f, glm::vec3(1.0f, 0.0f, 0.0f));
model = glm::translate(model, glm::vec3(1.0f));
if my shader is like this
gl_Position = projection * view * model * vec4(position, 1.0f);
Opengl reads in reverse order so ,Is it the first one or the second one? just want to clarify this as the two output different results and I dont know which one is right and which one is wrong.