Skip to content

Commit

Permalink
[CodeFactor] Apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
code-factor committed Sep 19, 2022
1 parent 164d9fd commit 9ee460d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions particles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1459,11 +1459,11 @@ function hexToRgb(hex){
g: parseInt(result[2], 16),
b: parseInt(result[3], 16)
} : null;
};
}

function clamp(number, min, max) {
return Math.min(Math.max(number, min), max);
};
}

function isInArray(value, array) {
return array.indexOf(value) > -1;
Expand Down

0 comments on commit 9ee460d

Please sign in to comment.