transform.h rework
This commit is contained in:
parent
25ab02e6ed
commit
23a9315faa
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue