mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 08:13:05 +00:00
Fix linux compilation
This commit is contained in:
1 parent
31fb3ec5af
commit
c86d4b1f0d
14 files changed
+121
-98
No files matched your search
+4
-4
@@ -772,19 +772,19 @@ int KYTY_SYSV_ABI atoi(const char* str) {
|
||||
}
|
||||
|
||||
float KYTY_SYSV_ABI sinf(float x) {
|
||||
return std::sinf(x);
|
||||
return std::sin(x);
|
||||
}
|
||||
|
||||
float KYTY_SYSV_ABI cosf(float x) {
|
||||
return std::cosf(x);
|
||||
return std::cos(x);
|
||||
}
|
||||
|
||||
void KYTY_SYSV_ABI sincosf(float x, float* sinp, float* cosp) {
|
||||
if (sinp != nullptr) {
|
||||
*sinp = std::sinf(x);
|
||||
*sinp = std::sin(x);
|
||||
}
|
||||
if (cosp != nullptr) {
|
||||
*cosp = std::cosf(x);
|
||||
*cosp = std::cos(x);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user