2023-08-14 10:34:27 +00:00
|
|
|
/**
|
|
|
|
* @file Point.h
|
|
|
|
* @author apio (cloudapio.eu)
|
|
|
|
* @brief 2D space points.
|
|
|
|
*
|
|
|
|
* @copyright Copyright (c) 2023, the Luna authors.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2023-08-03 10:19:45 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace ui
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @brief A point in 2D space.
|
|
|
|
*/
|
|
|
|
struct Point
|
|
|
|
{
|
|
|
|
int x { 0 };
|
|
|
|
int y { 0 };
|
|
|
|
};
|
|
|
|
}
|