Skip to content

Commit

Permalink
Convert utilities to use new module syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
limzykenneth committed Sep 9, 2024
1 parent 920ca49 commit 70fae99
Show file tree
Hide file tree
Showing 7 changed files with 2,720 additions and 2,720 deletions.
12 changes: 2 additions & 10 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ import './io/p5.TableRow';
import './io/p5.XML';

// math
// import './math/calculation';
// import './math/math';
// import './math/noise';
// import './math/p5.Vector';
// import './math/random';
// import './math/trigonometry';
import math from './math';
math(p5, p5.prototype);

Expand All @@ -76,10 +70,8 @@ import './typography/loading_displaying';
import './typography/p5.Font';

// utilities
import './utilities/array_functions';
import './utilities/conversion';
import './utilities/string_functions';
import './utilities/time_date';
import utilities from './utilities';
utilities(p5, p5.prototype);

// webgl
import './webgl/3d_primitives';
Expand Down
Loading

0 comments on commit 70fae99

Please sign in to comment.