Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Timed rotations in QOpenGL
thompsonx last edited by
I am learning OpenGL with Qt. I follow a tutorial on learnopengl.com and try to code the same in Qt via QtGUI QOpenGL clasess. I got to an example with timed matrix rotation:
glm::mat4 transform; transform = glm::translate(transform, glm::vec3(0.5f, -0.5f, 0.0f)); transform = glm::rotate(transform, (float)glfwGetTime(), glm::vec3(0.0f, 0.0f, 1.0f));
I do not see any relative method to glm::rotate with second time argument in QMatrix4x4. Is there any possibility to the same in Qt.