Files

22 lines
218 B
C++
Raw Permalink Normal View History

2026-08-03 18:42:47 +08:00
#pragma once
#include <cstdint>
struct Offset2D
{
std::int32_t x;
std::int32_t y;
};
struct Extent2D
{
std::uint32_t width;
std::uint32_t height;
};
struct Rect2D
{
Offset2D offset;
Extent2D extent;
};