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.

  • 5
    \$\begingroup\$ What did you try that did not work? \$\endgroup\$
    – Vaillancourt
    Commented Sep 30, 2016 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\$ Commented Oct 1, 2016 at 3:14


You must log in to answer this question.

Browse other questions tagged .