0% found this document useful (0 votes)
6 views

Identifying-directions-from-a-central-hex

Uploaded by

Amin Salama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Identifying-directions-from-a-central-hex

Uploaded by

Amin Salama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Identifying directions from a central hex

Copyright © 2006 Christopher Fuhrman

an z0 = -x0 - y0 an

-
hrm z1 = -x1 - y1 uhrm

+z
y r Fu F
he her
p top
+

sto

-
adx =risabs(x1-x0)
C h ri h
-20x06+ 0 6 C = abs(y1-y0)
ady
20 adz = abs(z1-z0)

(nonhorthogonal axes) h t©
rig rig
py p y
Co Co
adx is min
-4

4
dy is neg
-4
4
n
-4 -2 0a 2 4 an
hrm m
-3

-4
r
3
4

h
-3 r Fu
-1 -3 1 3 rF
u

-4
-2
4

2
ady is min p he he
-4 to-2 0 2 topmin
adz4risis
-3

-4
-2

is
4

dx is neg 6 C-3hr 3 Ch
06dx 4is pos
-1 1
-1

-3
-2

-4
4

1
0
2-40 -2 0 2 20

-3
-1

-2

-4
0
3

1
4

0
© ©
ht ht
rig -3 -1 1 ig 3
-1

-2

-3
yr
0
3

opy -4 -2 0 op 2 4
C C
-1

-2

-3
-1
1

0
3

1
2

-3 -1 1 3
-1

-2
-1

-2
2

0
2

-4 -2 0 2 4
an an
-1
-1

-2
1
2

0
1

-3 -1 h rm 1 3 h rm
-1
-1

-2

-3

Fu u
3

1
2

0
1

adz is -4min -2 her ady4is min rF


0 2 he
-1

-3

-4
-2
3

1
4

0
0

dx is neg -3 ristop -1 1 3dx is top


rispos
-1

-2

-3

-4
3

1
4

h h
-4 0 6C -2 0 2 06
C 4
-1

-3

-4
-2

3
4

1
2

20 203
t© -3 -1 1 t©
-2

-3

-4
3
4

gh gh
p yri adx is Cmin yri
op
-3

-4

3
4

Co
dy is pos
-3

-4

3
-4

You might also like