Skip to content

Commit

Permalink
Added directions 6 and 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Martin committed Jul 11, 2013
1 parent 3944e66 commit 0064d62
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions opengalax.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,13 @@ int main (int argc, char *argv[]) {
x = ((int)ya * YB_MAX) + ((int)yb);
y = ((int)xa * XB_MAX) + ((int)xb);
break;
case 6:
x = Y_AXIS_MAX - ((int)ya * YB_MAX) + (YB_MAX - (int)yb);
y = X_AXIS_MAX - ((int)xa * XB_MAX) + (XB_MAX - (int)xb);
break;
case 7:
x = ((int)ya * YB_MAX) + ((int)yb);
y = X_AXIS_MAX - ((int)xa * XB_MAX) + (XB_MAX - (int)xb);

}

Expand Down

0 comments on commit 0064d62

Please sign in to comment.