Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Niekes committed Sep 10, 2017
1 parent 0b8c2b3 commit eac1eb2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d3-3d",
"version": "0.0.4",
"version": "0.0.5",
"description": "3D projection ",
"keywords": [
"d3",
Expand Down
8 changes: 7 additions & 1 deletion src/draw/drawTriangle.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
export function drawTriangle(d){
return 'M' + d[0].projected.x + ',' + d[0].projected.y + 'L' + d[1].projected.x + ',' + d[1].projected.y + 'L' + d[2].projected.x + ',' + d[2].projected.y + 'Z';
return "M" + d[0].projected.x +
"," + d[0].projected.y +
"L" + d[1].projected.x +
"," + d[1].projected.y +
"L" + d[2].projected.x +
"," + d[2].projected.y +
"Z";
}

0 comments on commit eac1eb2

Please sign in to comment.