Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
TS committed May 31, 2022
2 parents 5d6eb9d + 82d02dd commit 3e09eb9
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/tgen-with-presets.min.js

Large diffs are not rendered by default.

Binary file modified dist/tgen-with-presets.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/tgen.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tgen.min.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* https://texture-generator.com/
*
* @copyright 2015-2022 Tamas Schalk
* @version 1.4.8
* @version 1.4.9
* @license MIT
*
*/
Binary file modified dist/tgen.min.js.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seamless-texture-generator",
"version": "1.4.8",
"version": "1.4.9",
"description": "Seamless texture generator",
"homepage": "https://github.com/schalkt/tgen/",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/tgen-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
* https://texture-generator.com/
*
* @copyright 2015-2022 Tamas Schalk
* @version 1.4.8
* @version 1.4.9
* @license MIT
*
*/

var SeamlessTextureGenerator = {
version : "1.4.8",
version : "1.4.9",
defaults: {},
effects: {},
prepare: {},
Expand Down
3 changes: 3 additions & 0 deletions src/tgen-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,10 @@ module.exports = function (tgen) {

// random int min max by seed
generator.randIntSeed = function (min, max, even) {

var mul;
var norm = generator.minMaxNormalize(min, max);

min = norm.min;
max = norm.max;

Expand Down

0 comments on commit 3e09eb9

Please sign in to comment.