Skip to content

Commit

Permalink
Merge pull request #7201 from diyaayay/Caps-at-beg-of-curve
Browse files Browse the repository at this point in the history
Caps at the beginning of the curve
  • Loading branch information
davepagurek authored Sep 3, 2024
2 parents fb068f7 + 50f609d commit 0b01116
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webgl/3d_primitives.js
Original file line number Diff line number Diff line change
Expand Up @@ -2984,7 +2984,7 @@ p5.RendererGL.prototype.bezierVertex = function(...args) {
this._lookUpTableBezier = [];
this._lutBezierDetail = this._pInst._curveDetail;
const step = 1 / this._lutBezierDetail;
let start = 0;
let start = step;
let end = 1;
let j = 0;
while (start < 1) {
Expand Down Expand Up @@ -3144,7 +3144,7 @@ p5.RendererGL.prototype.quadraticVertex = function(...args) {
this._lookUpTableQuadratic = [];
this._lutQuadraticDetail = this._pInst._curveDetail;
const step = 1 / this._lutQuadraticDetail;
let start = 0;
let start = step;
let end = 1;
let j = 0;
while (start < 1) {
Expand Down Expand Up @@ -3288,7 +3288,7 @@ p5.RendererGL.prototype.curveVertex = function(...args) {
this._lookUpTableBezier = [];
this._lutBezierDetail = this._pInst._curveDetail;
const step = 1 / this._lutBezierDetail;
let start = 0;
let start = step;
let end = 1;
let j = 0;
while (start < 1) {
Expand Down

0 comments on commit 0b01116

Please sign in to comment.