Graham (graham++at++beast.asd.sgi.com)
Mon, 8 Jul 1996 17:38:18 -0700
GB
On Jul 8, 5:54pm, Cris Villarma wrote:
> Subject: Lat/Lon
> Hi,
> I'm wanting to correlate the mouse position with
> latitude/longitude positions on a map using Performer.
> I.e., if the mouse is at screen position (10,10), I want
> to know that correlates with, for example, 112W, 32.5N.
>
> I've written a few functions to convert to/from world
> and screen coordinates, but when I position the mouse
> on a known position on the map, the numbers aren't right.
>
> If my conversion functions are right, what am I forgetting?
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Cris Villarma
-- ---------------------------------------------------------------------- Graham (Grambo) Beasley Silicon Graphics, Inc. MTS (Simulator Guy) (415) 933-5420 graham++at++sgi.com ----------------------------------------------------------------------"Being fair is not always convenient!" Javier's Father
======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:09 PDT