I’m currently learning openGL, and want to fully cover rotations before moving on.
I have worked out how to rotate an object around its centre, simply draw it around the origin, move it into view, then rotate it. The thing that’s troubling me is, is there a way to rotate the object about a different point, without changing the point at which it is drawn at?
Ie, still draw the object at origin, and move it into view, but rotate it, say, about the origin, so it orbits the origin.