From 185b53421ae451d4b5d101bd3803d8919de059db Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Fri, 24 Dec 2021 11:41:12 -0400 Subject: [PATCH] Fix function declaration type mismatch (didn't cause any errors). --- src/modules/math/MathModule.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/math/MathModule.h b/src/modules/math/MathModule.h index bce3de5a9..4d4729071 100644 --- a/src/modules/math/MathModule.h +++ b/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