Fix default constructor for rectangle types
This commit is contained in:
parent
d40486a308
commit
075c7685df
|
@ -39,7 +39,7 @@ namespace JabyEngine {
|
|||
static constexpr auto IdentityCode = Code().set(Code::Size.with(static_cast<uint8_t>(Size))).set(Code::Untextured).set(Code::NonTransparent);
|
||||
|
||||
Color24 color;
|
||||
Code code;
|
||||
Code code = IdentityCode;
|
||||
Vertex position;
|
||||
|
||||
constexpr RECT_BASE_F() = default;
|
||||
|
@ -53,7 +53,7 @@ namespace JabyEngine {
|
|||
static constexpr auto IdentityCode = Code(RECT_BASE_F<Size>::IdentityCode).set(Code::Textured);
|
||||
|
||||
Color24 color;
|
||||
Code code;
|
||||
Code code = IdentityCode;
|
||||
Vertex position;
|
||||
PagePosition page;
|
||||
PageClut clut;
|
||||
|
|
Loading…
Reference in New Issue