code integration

This commit is contained in:
Sylvain Schneider
2026-07-04 21:17:38 +02:00
parent 8329318677
commit 888765ef6b
64 changed files with 52755 additions and 1 deletions

32
quokka_gfx/utils/Coords.h Normal file
View File

@@ -0,0 +1,32 @@
#pragma once
#include <SDL3/SDL.h>
namespace quokka_gfx
{
//--------------------------------------------------------------
struct Size
{
int w = 0;
int h = 0;
};
//--------------------------------------------------------------
struct FSize
{
float w = 0.0f;
float h = 0.0f;
};
//--------------------------------------------------------------
struct Pos
{
int x = 0;
int y = 0;
};
//--------------------------------------------------------------
struct FPos
{
float x = 0.0f;
float y = 0.0f;
};
//--------------------------------------------------------------
} // namespace quokka_gfx