From 1ac35ffc8293cea73d2025b1a29ccb59b06ba260 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Sat, 25 Nov 2023 21:25:10 +0100 Subject: [PATCH] Version name --- p5.brush.js | 2 +- p5.brush.min.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/p5.brush.js b/p5.brush.js index 0402d13..4257170 100644 --- a/p5.brush.js +++ b/p5.brush.js @@ -1,6 +1,6 @@ /** * @fileoverview p5.brush - A comprehensive toolset for brush management in p5.js. - * @version 1.0.4 + * @version 1.0.4c * @license MIT * @author Alejandro Campos Uribe * diff --git a/p5.brush.min.js b/p5.brush.min.js index 171e468..e694ca8 100644 --- a/p5.brush.min.js +++ b/p5.brush.min.js @@ -1,4 +1,4 @@ -/* p5.brush.js v1.0.4 - Alejandro Campos - MIT License */ +/* p5.brush.js v1.0.4c - Alejandro Campos - MIT License */ (function(m,N){"object"===typeof exports&&"undefined"!==typeof module?N(exports):"function"===typeof define&&define.amd?define(["exports"],N):(m=m||self,N(m.brush={}))})(this,function(m){function N(a=!1){Y=!0;l=a?a:window.self;t.load();r.create();Z(l.width/250)}function E(){Y||N()}function aa(a,b,c,d,e=!1){let g=a.x;a=a.y;var k=b.x,p=b.y;b=c.x;c=c.y;var n=d.x,q=d.y;if(g===k&&a===p||b===n&&c===q)return!1;d=k-g;k=p-a;p=n-b;q-=c;n=q*d-p*k;if(0===n)return!1;p=(p*(a-c)-q*(g-b))/n;b=(d*(a-c)-k*(g-b))/n; return!e&&(0>b||1