umeshvl
11-24-2009, 03:44 AM
Am drawing lines in xy plane,co-ordinates are in close range like
(-74.01244599,40.692543 ,0)
(-74.012445 ,40.6925639,0)
(-74.012365 ,40.692633 ,0)
glOrthox(-74.047249,-73.907204,40.679516,40.882000,-1.0,1.0);
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?
(-74.01244599,40.692543 ,0)
(-74.012445 ,40.6925639,0)
(-74.012365 ,40.692633 ,0)
glOrthox(-74.047249,-73.907204,40.679516,40.882000,-1.0,1.0);
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?