View Full Version : glrotate geometric question
03-04-2008, 03:13 AM
hi! I have a simple question.. How is glrotate calculated? I know that it multiplies a matrix ecc.. but pratically, if I draw a rectangle, and I rotate it, the rotation is calculated between the center of the object and the origin , between one angle of the object and the origin or what?
03-04-2008, 04:25 AM
The rotate function just "adds" a rotation matrix to the transformation chain, so the rotation will be around the current zero (coordinate system center).
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.