- [NEW] Passat a SDL3

This commit is contained in:
2026-05-16 08:01:27 +02:00
parent 7d513a3d0b
commit 787d78c070
5 changed files with 164 additions and 123 deletions
+10 -10
View File
@@ -1,6 +1,6 @@
#pragma once
#include <SDL2/SDL.h>
#include <stdint.h>
#define KEY_UNKNOWN 0
#define KEY_A 4
@@ -158,15 +158,15 @@ int time();
float flr(float x);
float sgn(float x);
#ifndef __LINUX__
#ifndef __APPLE__
float ceil(float x);
float sin(float x);
float cos(float x);
float atan2(float dx, float dy);
float sqrt(float x);
#endif
#endif
//#ifndef __LINUX__
//#ifndef __APPLE__
//float ceil(float x);
//float sin(float x);
//float cos(float x);
//float atan2(float dx, float dy);
//float sqrt(float x);
//#endif
//#endif
float max(float x, float y);
float mid(float x, float y, float z);