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