UI box shape is all zeroes by default
This commit is contained in:
parent
4deb6fa64a
commit
f106299dd9
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ namespace psemek::ui
|
|||
}
|
||||
|
||||
private:
|
||||
box_shape shape_{{{{0.f, 0.f}, {0.f, 0.f}}}};
|
||||
box_shape shape_;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue