fgenesis / tinypile

Assorted small one-or-two-file libs. C/C++. Public domain. Cross-platform. No deps.
The Unlicense
85 stars 14 forks source link

About the step direction #10

Open luodaoyi opened 3 years ago

luodaoyi commented 3 years ago
//     { -1, -1 },  { 0, -1 }, { 1, -1 } //0 1 2  ideal?
//     { -1,  0 },             { 1,  0 } //3   4
//     { -1,  1 },  { 0,  1 }, { 1,  1 } //5 6 7

//     {  0, -1 },  { 1, -1 }, { 1,  0 } //0 1 2   but this is real
//     { -1, -1 },             { 1,  1 } //7 8 3
//     {- 1,  0 },  {-1,  1 }, { 0,  1 } //6 5 4

What should I do? How can I change it for work ??