diff --git a/src/noise2D.glsl b/src/noise2D.glsl index 1b01277..dc3fc1c 100644 --- a/src/noise2D.glsl +++ b/src/noise2D.glsl @@ -5,7 +5,7 @@ // Lastmod : 20110813 (stegu) // License : Copyright (C) 2011 Ashima Arts. All rights reserved. // Distributed under the MIT License. See LICENSE file. -// +// vec3 mod289(vec3 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; diff --git a/src/noise3D.glsl b/src/noise3D.glsl index 4fef512..27ae9ce 100644 --- a/src/noise3D.glsl +++ b/src/noise3D.glsl @@ -6,7 +6,7 @@ // Lastmod : 20110813 (stegu) // License : Copyright (C) 2011 Ashima Arts. All rights reserved. // Distributed under the MIT License. See LICENSE file. -// +// vec3 mod289(vec3 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; diff --git a/src/noise4D.glsl b/src/noise4D.glsl index c3d913f..3ebf587 100644 --- a/src/noise4D.glsl +++ b/src/noise4D.glsl @@ -6,7 +6,7 @@ // Lastmod : 20110813 (stegu) // License : Copyright (C) 2011 Ashima Arts. All rights reserved. // Distributed under the MIT License. See LICENSE file. -// +// vec4 mod289(vec4 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; }