Xref: utzoo rec.games.programmer:3966 comp.graphics:18446 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!tronsbox!tron1 From: tron1@tronsbox.xei.com (Kenneth Jamieson) Newsgroups: rec.games.programmer,comp.graphics Subject: generating hexagons Message-ID: <1659@tronsbox.xei.com> Date: 6 Jun 91 03:45:15 GMT Followup-To: rec.games.programmer Organization: Romantic Encounters BBS Lines: 23 Hi there folks! I need to put up a map for a game I am writing, and have a few questions concerning hexagons. 1) What is the best algorithm to draw a hexagonal grid with ? 2) Given an x/y point, how can I tell what hexagon it is in ? Thanks! -- ========[ Xanadu Enterprises Inc. Amiga & Unix Software Development]======= = "I know how you feel, you don't know if you want to hit me or kiss me - = = --- I get a lot of that." Madonna as Breathless Mahoney (Dick Tracy) = =========== Ken Jamieson: uunet!tronsbox.xei.com!tron1 =================== = NONE of the opinions represented here are endorsed by anybody. = = Unix is (tm) AT&T, Amiga is (tm) Commodore Business Machines, and all = = characters from Dick Tracy are (tm) Warner Bros. = ===========================================================================