From ea6d5215d1b0da693ccd0c377c045fad7421a653 Mon Sep 17 00:00:00 2001 From: h4570 Date: Sun, 13 Dec 2020 00:39:32 +0100 Subject: [PATCH] fixed funcs declaration --- src/engine/utils/math.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/utils/math.cpp b/src/engine/utils/math.cpp index c273467..5c4846e 100644 --- a/src/engine/utils/math.cpp +++ b/src/engine/utils/math.cpp @@ -100,7 +100,7 @@ void manyVec3ToNative(VECTOR *o_result, Vector3 *t_vec, int t_amount, float t_fo vec3ToNative(o_result[i], t_vec[i], t_fourthVal); } -static float asin(float x) +float Math::asin(float x) { float r; asm volatile( @@ -159,7 +159,7 @@ static float asin(float x) return r; } -static float mod(float x, float y) +float Math::mod(float x, float y) { /* * Portable fmod(x,y) implementation for systems