Revert "port: use system trig functions"

apparently this only causes issues, though it might be possible to use SOME trig functions from libc
This commit is contained in:
fgsfds committed 2023-09-24 11:47:14 +02:00
1 parent bd113a5b44
commit d303971c2d
2 files changed
+1 -5

No files matched your search

+1 -1
View File
@@ -170,7 +170,7 @@ JSON_FILES += $(wildcard $(A_DIR)/*.json)
JSON_HEADERS := $(patsubst $(A_DIR)/%.json, $(G_DIR)/%.h, $(JSON_FILES))
C_FILES := $(shell find src/game port -name '*.c' ! -name 'atan2f.c' ! -name 'acosfasinf.c')
C_FILES := $(shell find src/game port -name '*.c')
C_FILES := $(C_FILES) \
$(wildcard src/lib/mp3/*.c) \
$(wildcard src/lib/naudio/*.c) \
-4
View File
@@ -1577,8 +1577,6 @@ static f32 modelasmAcosOrAsin(f32 f6)
return 0.000047937632189132f * t3;
}
#ifdef PLATFORM_N64
f32 cosf(f32 radians)
{
return sinf(radians + 1.570796251297f);
@@ -1652,5 +1650,3 @@ f32 sinf(f32 radians)
return ret;
}
#endif