Skip to content

Commit

Permalink
feat(vector): cont left forward and up
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTelanie committed Sep 13, 2019
1 parent 0eb7be7 commit 9ccf780
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vector.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,3 +546,7 @@ export const Export = {
*/
victor: (x, y, z) => victorFactory(x, y, z)
};

export const FORWARD = victor(0, 0, -1);
export const LEFT = victor(-1, 0, 0);
export const UP = victor(0, 1, 0);

0 comments on commit 9ccf780

Please sign in to comment.