java Programming Glossary: polyy
creating 10.000 connected hexagon page? http://stackoverflow.com/questions/3687176/creating-10-000-connected-hexagon-page the x y co ordinates of your hexes in two arrays polyX and polyY you get a nested loop drawHex g cx cy 0 for int rank 1 rank.. centre int x cx polyX bar 4 6 polyX bar 5 6 rank int y cy polyY bar 4 6 polyY bar 5 6 rank move by twice the distance of the.. cx polyX bar 4 6 polyX bar 5 6 rank int y cy polyY bar 4 6 polyY bar 5 6 rank move by twice the distance of the midpoint of..
|