mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 20:24:01 +00:00
CElementGen: std::move TToken instance in constructor
Allows the parameter to be moved into via calling code.
This commit is contained in:
@@ -144,8 +144,8 @@ private:
|
||||
void AccumulateBounds(const zeus::CVector3f& pos, float size);
|
||||
|
||||
public:
|
||||
CElementGen(const TToken<CGenDescription>& gen, EModelOrientationType orientType = EModelOrientationType::Normal,
|
||||
EOptionalSystemFlags flags = EOptionalSystemFlags::One);
|
||||
explicit CElementGen(TToken<CGenDescription> gen, EModelOrientationType orientType = EModelOrientationType::Normal,
|
||||
EOptionalSystemFlags flags = EOptionalSystemFlags::One);
|
||||
~CElementGen() override;
|
||||
|
||||
std::array<boo::ObjToken<boo::IShaderDataBinding>, 2> m_normalDataBind;
|
||||
|
||||
Reference in New Issue
Block a user