Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Update dann.js
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasvlevi committed Sep 20, 2020
1 parent 5841452 commit a009c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dann.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class Graph {
}

for (let i = 0; i < int(this.lines[a].length/int(this.s)); i+=int(this.s)) {
vertex((i/int(this.s))+this.pos.x, (map(this.lines[a][i*int(this.s)],this.min,this.max,this.pos.y,this.pos.y+this.h)+this.pos.y));
vertex((i/int(this.s))+this.pos.x, (map(this.lines[a][i*int(this.s)],this.min,this.max,this.pos.y,this.pos.y+this.h)));
}
endShape();
}
Expand Down

0 comments on commit a009c5c

Please sign in to comment.