getgpos()

Mike A. Gigante mg at cidam.me.rmit.oz.AU
Mon May 8 23:35:40 AEST 1989



I have the following code fragment:

	ortho(-14.0, 14.0, -14.0, 14.0)
	move2(-14.0, -14.0)
	....
	getgpos(&xw, &yw, &zw, &w)

the result is that xw = yw = w = -1.0, not -14.0 as I expected from
the description of getgpos.

This is inside a library to supplement GL (actually it is the extra routines
from GNU-digs to add hershey fonts etc) so I don't have access to the original
calls to ortho etc.

I have got around the problem by recoding to use relative calls (rmv, rdr
and so on) so that the answer is really for my curiosity...

Mike
P.S. I am using a PI withfull graphics and FP options



More information about the Comp.sys.sgi mailing list