summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/quake/mathlib.c
diff options
context:
space:
mode:
authorVencislav Atanasov <user890104@freemyipod.org>2019-07-28 23:31:50 +0300
committerVencislav Atanasov <user890104@freemyipod.org>2019-07-29 01:59:40 +0300
commit183e45e8d0b4425bbd41fab37f2a4dc143e1e27c (patch)
tree5e25c211f6a3bd46dc594123451af00c1bf7ef9c /apps/plugins/sdl/progs/quake/mathlib.c
parente19857e712ff54cec08d5a6342a32dae2788cb50 (diff)
downloadrockbox-183e45e8d0b4425bbd41fab37f2a4dc143e1e27c.tar.gz
rockbox-183e45e8d0b4425bbd41fab37f2a4dc143e1e27c.zip
sdl: Remove platform-specific code
Also nuke the Makefiles of Duke Nukem 3D (pun intended). Change-Id: If2707cf079bfb9299347f9c5f980780134b6ecda
Diffstat (limited to 'apps/plugins/sdl/progs/quake/mathlib.c')
-rw-r--r--apps/plugins/sdl/progs/quake/mathlib.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/plugins/sdl/progs/quake/mathlib.c b/apps/plugins/sdl/progs/quake/mathlib.c
index ddd5435089..a949a39a51 100644
--- a/apps/plugins/sdl/progs/quake/mathlib.c
+++ b/apps/plugins/sdl/progs/quake/mathlib.c
@@ -85,10 +85,6 @@ void PerpendicularVector( vec3_t dst, const vec3_t src )
85 VectorNormalizeNoRet( dst ); 85 VectorNormalizeNoRet( dst );
86} 86}
87 87
88#ifdef _WIN32
89#pragma optimize( "", off )
90#endif
91
92 88
93void RotatePointAroundVector( vec3_t dst, const vec3_t dir, const vec3_t point, float degrees ) 89void RotatePointAroundVector( vec3_t dst, const vec3_t dir, const vec3_t point, float degrees )
94{ 90{
@@ -145,10 +141,6 @@ void RotatePointAroundVector( vec3_t dst, const vec3_t dir, const vec3_t point,
145 } 141 }
146} 142}
147 143
148#ifdef _WIN32
149#pragma optimize( "", on )
150#endif
151
152/*-----------------------------------------------------------------*/ 144/*-----------------------------------------------------------------*/
153 145
154 146