From 7b06ec9a6a725e46c19217b873b02715eed5b919 Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 20 Feb 2019 21:32:48 +0000 Subject: [PATCH] atan2 -> atan2f git-svn-id: https://svn.eduke32.com/eduke32@7339 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/polymer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/polymer.cpp b/source/build/src/polymer.cpp index 24bf81e4e..d1bd10421 100644 --- a/source/build/src/polymer.cpp +++ b/source/build/src/polymer.cpp @@ -1085,7 +1085,7 @@ void polymer_drawrooms(int32_t daposx, int32_t daposy, int32_t daposz, fix16_t d gvisibility = ((float)globalvisibility)*FOGSCALE; ang = fix16_to_float(daang) * (360.f/2048.f); - horizang = -(float)atan2(fix16_to_float(dahoriz)-100.f, 128.f) * (180.f*(float)M_1_PI); + horizang = -(float)atan2f(fix16_to_float(dahoriz) - 100.f, 128.f) * (180.f * (float)M_1_PI); tiltang = (gtang * 90.0f); pos[0] = (float)daposy;