소스 검색

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

Alex Szpakowski 3 년 전
부모
커밋
185b53421a
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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].
  **/
-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