0 NN N*
So it is 2, not 3, because you only have (0,-1) not (1,0,-1). That's why the "binary number" hack would work. And the was taken care of by doing for (1 .. not for (0 ...
dave hj~
In reply to Re: (cLive ;-) Re: getting my neighbours in an N-dimensional space
by dash2
in thread getting my neighbours in an N-dimensional space
by dash2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |