33 lines
607 B
C++
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
|