Lat/Lon

New Message Reply Date view Thread view Subject view Author view

Cris Villarma (cvillarm++at++magellan.bgm.link.com)
Mon, 8 Jul 1996 17:54:58 -0500


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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:09 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.