[rec.games.programmer] generating hexagons

tron1@tronsbox.xei.com (Kenneth Jamieson) (06/06/91)

			   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.                       =
===========================================================================