View Full Version : rotation
how would i make a line, anywhere in the first quadrant rotate about the origin?
09-22-2002, 08:29 PM
The rotate below will rotate the line about the +Z axis which points out of the screen.
angle += 0.1;
. . .
The line above lies along X axis at 0 degrees.
That should work for you.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.