Browse Source

Fix function declaration type mismatch (didn't cause any errors).

Alex Szpakowski 3 years ago
parent
commit
185b53421a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/modules/math/MathModule.h

+ 4 - 4
src/modules/math/MathModule.h

@@ -83,10 +83,10 @@ float linearToGamma(float c);
  *
  *
  * @return Noise value in the range of [0, 1].
  * @return Noise value in the range of [0, 1].
  **/
  **/
-static float noise1(float x);
-static float noise2(float x, float y);
-static float noise3(float x, float y, float z);
-static float noise4(float x, float y, float z, float w);
+static float noise1(double x);
+static float noise2(double x, double y);
+static float noise3(double x, double y, double z);
+static float noise4(double x, double y, double z, double w);
 
 
 
 
 class Math : public Module
 class Math : public Module