Files
volaTile/quokka_gfx/utils/Coords.h
Sylvain Schneider 888765ef6b code integration
2026-07-04 21:17:38 +02:00

33 lines
607 B
C++

#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