transform.h rework

This commit is contained in:
DepressedTWM 2026-06-01 00:12:45 +03:00
parent 25ab02e6ed
commit 23a9315faa
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
#include "etc-internal.h" #include "etc-internal.h"
#include <math.h> #include <math.h>
#include <string.h> #include <SDL3/SDL_stdinc.h>
class Transform{ class Transform{
public: public:
@ -59,7 +59,7 @@ public:
rotation(0), rotation(0),
dirty(true) dirty(true)
{ {
memset(matrix, 0, sizeof(matrix)); SDL_memset(matrix, 0, sizeof(matrix));
matrix[10] = 1; matrix[10] = 1;
matrix[15] = 1; matrix[15] = 1;