UI box shape is all zeroes by default

This commit is contained in:
Nikita Lisitsa 2021-02-25 11:24:28 +03:00
parent 4deb6fa64a
commit f106299dd9
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ namespace psemek::ui
struct box_shape
: shape
{
geom::box<float, 2> box;
geom::box<float, 2> box{{{0.f, 0.f}, {0.f, 0.f}}};
box_shape() = default;

View file

@ -51,7 +51,7 @@ namespace psemek::ui
}
private:
box_shape shape_{{{{0.f, 0.f}, {0.f, 0.f}}}};
box_shape shape_;
};
}