glRotatex(3.0,1.0,0.0,0.0);
i tried applying the above rotation on x axis.
Output looks like lines are being translated in -y axis. is it like camera is being moved up ?
i want to rotate lines(on xy plane) wrt x-axis(closer to xz plane).how can this be done?
posting answer to my question.Might help to someone who looks this topic.
The whole set of lines which i tried to draw was being rotated wrt x-axis. But due to co-ordinates being very near it appeared to be translated along y-axis.
Its better we design coordinates symmetric around (0,0,0).then i set glortho around (0,0,0). After that i could rotate lines around xy-plane.