1
\$\begingroup\$

I have rendered a circle using OBJ file. Now I want to rotate it around its own axis, like YouTube buffering icon. How can I do that? I'm working in OpenGL.

I can change its x, y, and z rotation using a transformation matrix.

\$\endgroup\$
  • 5
    \$\begingroup\$ What did you try that did not work? \$\endgroup\$ – Alexandre Vaillancourt Sep 30 '16 at 18:24
  • \$\begingroup\$ How are you drawing the circle? We can't tell you what axis to rotate around if we don't know what plane it's drawn in. \$\endgroup\$ – user1118321 Oct 1 '16 at 3:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.