'OpenGL two rotations on one model

I have loaded a model of a coin, and I want it to constantly rotate around its axis:

model = glm::rotate(model, (float)glfwGetTime(), glm::vec3(0, 1, 0));

But when I load the model I also need it to be rotated for like 15° around z axis:

model = glm::rotate(model, glm::radians(15.0f), glm::vec3(0, 0, 1));

When I do both rotations the coin is rotated for 15° but it's being constantly rotated around its left side, not the middle of a coin. What can I do so it rotates normally?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source