44 lines
554 B
Zig
44 lines
554 B
Zig
pub const Rect_i = struct {
|
|
x: u32,
|
|
y: u32,
|
|
w: u32,
|
|
h: u32,
|
|
};
|
|
|
|
pub const Size_i = struct {
|
|
w: u32,
|
|
h: u32,
|
|
};
|
|
|
|
pub const Size_f = struct {
|
|
w: f32,
|
|
h: f32,
|
|
};
|
|
|
|
pub const Point2_f = struct {
|
|
x: f32 = 0,
|
|
y: f32 = 0,
|
|
};
|
|
|
|
pub const Point2_i = struct {
|
|
x: i32 = 0,
|
|
y: i32 = 0,
|
|
};
|
|
|
|
pub const Radii_f = struct {
|
|
x: f32,
|
|
y: f32,
|
|
};
|
|
|
|
pub const Scale2_f = struct {
|
|
scale_x: f32 = 1,
|
|
scale_y: f32 = 1,
|
|
};
|
|
|
|
pub const Rect_f = struct {
|
|
x: f32 = 0,
|
|
y: f32 = 0,
|
|
w: f32 = 0,
|
|
h: f32 = 0,
|
|
};
|