[ox/std] Make Point and Size members int32_t
This commit is contained in:
parent
40b8da4d3c
commit
047b43968e
4
deps/ox/src/ox/std/point.hpp
vendored
4
deps/ox/src/ox/std/point.hpp
vendored
@ -17,8 +17,8 @@ class Point {
|
|||||||
public:
|
public:
|
||||||
static constexpr auto TypeName = "net.drinkingtea.ox.Point";
|
static constexpr auto TypeName = "net.drinkingtea.ox.Point";
|
||||||
static constexpr auto TypeVersion = 1;
|
static constexpr auto TypeVersion = 1;
|
||||||
int x = 0;
|
int32_t x = 0;
|
||||||
int y = 0;
|
int32_t y = 0;
|
||||||
|
|
||||||
constexpr Point() noexcept = default;
|
constexpr Point() noexcept = default;
|
||||||
|
|
||||||
|
4
deps/ox/src/ox/std/size.hpp
vendored
4
deps/ox/src/ox/std/size.hpp
vendored
@ -17,8 +17,8 @@ class Size {
|
|||||||
public:
|
public:
|
||||||
static constexpr auto TypeName = "net.drinkingtea.ox.Size";
|
static constexpr auto TypeName = "net.drinkingtea.ox.Size";
|
||||||
static constexpr auto TypeVersion = 1;
|
static constexpr auto TypeVersion = 1;
|
||||||
int width = 0;
|
int32_t width = 0;
|
||||||
int height = 0;
|
int32_t height = 0;
|
||||||
|
|
||||||
constexpr Size() noexcept = default;
|
constexpr Size() noexcept = default;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user