79624446

Date: 2025-05-16 03:58:48
Score: 1.5
Natty:
Report link

This happends in the order you multiply the matrix, as a recomendation, you should multiply first the translate, then rotate and finaly the scale, that will help you to get the form you want, remember that matrix doesn't have commutativity.
I'll bring you and example
model = glm::translate(model, glm::vec3(-40.0f, -28.0f, 0.0f));

model = glm::rotate(model, glm::radians(-90.0f), glm::vec3(0.0f, 1.0f, 0.0f));

model = glm::scale(model, glm::vec3(0.02f));

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jeremy Alexis Ventura Ricardez