Убраны комментарии лишние и улучшены модели

This commit is contained in:
2026-02-23 23:01:49 +03:00
parent b896a67fd4
commit bd58286c98
15 changed files with 169 additions and 193 deletions

View File

@@ -15,19 +15,16 @@ pub const Size = struct {
height: f32,
};
/// Точка в 2D (документные единицы)
pub const Point2 = struct {
x: f32 = 0,
y: f32 = 0,
};
/// Радиусы эллипса по осям (одно свойство).
pub const Radii = struct {
x: f32,
y: f32,
};
/// Масштаб объекта
pub const Scale2 = struct {
scale_x: f32 = 1,
scale_y: f32 = 1,