metaforce/Runtime/GuiSys/CGuiWidgetDrawParms.hpp

19 lines
438 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-03-17 02:18:01 +00:00
#include <zeus/CVector3f.hpp>
2016-12-30 06:37:01 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce {
2016-03-17 02:18:01 +00:00
2018-12-08 05:30:43 +00:00
struct CGuiWidgetDrawParms {
float x0_alphaMod = 1.f;
zeus::CVector3f x4_cameraOffset;
2016-12-29 05:53:00 +00:00
constexpr CGuiWidgetDrawParms() = default;
constexpr CGuiWidgetDrawParms(float alphaMod, const zeus::CVector3f& cameraOff)
2018-12-08 05:30:43 +00:00
: x0_alphaMod(alphaMod), x4_cameraOffset(cameraOff) {}
static constexpr CGuiWidgetDrawParms Default() { return {}; }
2016-03-17 02:18:01 +00:00
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce