Skip to content

Commit

Permalink
fix issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Niekes committed May 27, 2018
1 parent 49bc91c commit 341f30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function rotateZ(p, a){
var sa = Math.sin(a), ca = Math.cos(a);
return {
x: p.x * ca - p.y * sa,
y: p.y * sa + p.y * ca,
y: p.x * sa + p.y * ca,
z: p.z
};
}

0 comments on commit 341f30b

Please sign in to comment.