3#include <effect/EffectObjBase.h>
21 SEAD_RTTI_OVERRIDE(
EffectObj, EffectObjBase)
27 bool createEffect(EffectID id,
const sead::Matrixf* mtx =
nullptr,
bool mtx_has_scale =
false);
29 bool createEffect(EffectID id,
const sead::Matrixf& mtx,
bool mtx_has_scale)
31 return createEffect(id, &mtx, mtx_has_scale);
35 bool follow(
const sead::Vector3f* trans =
nullptr,
const Angle3* angle =
nullptr,
const sead::Vector3f* scale =
nullptr);
37 bool follow(
const sead::Matrixf& mtx,
bool mtx_has_scale);
39 bool follow(
const sead::Matrixf* mtx,
bool mtx_has_scale)
42 mtx = &sead::Matrixf::ident;
44 return follow(*mtx, mtx_has_scale);
47static_assert(
sizeof(EffectObj) ==
sizeof(EffectObjBase));
bool createEffect(EffectID id, const sead::Matrixf *mtx=nullptr, bool mtx_has_scale=false)
~EffectObj() override
Definition EffectObj.h:15
bool follow(const sead::Vector3f *trans=nullptr, const Angle3 *angle=nullptr, const sead::Vector3f *scale=nullptr)
bool createEffect(EffectID id, const sead::Matrixf &mtx, bool mtx_has_scale)
Definition EffectObj.h:29
EffectObj()
Definition EffectObj.h:10
bool follow(const sead::Matrixf &mtx, bool mtx_has_scale)
bool follow(const sead::Matrixf *mtx, bool mtx_has_scale)
Definition EffectObj.h:39