3#include <effect/Effect.h>
11 bool createEffect(EffectID id,
const sead::Vector3f* trans =
nullptr,
const Angle3* angle =
nullptr,
const sead::Vector3f* scale =
nullptr);
13 bool createEffect(EffectID id,
const sead::Matrixf* mtx =
nullptr,
bool mtx_has_scale =
false);
15 bool createEffect(EffectID id,
const sead::Matrixf& mtx,
bool mtx_has_scale)
17 return createEffect(id, &mtx, mtx_has_scale);
22 bool follow(
const sead::Matrixf* mtx,
bool mtx_has_scale)
25 mtx = &sead::Matrixf::ident;
27 return follow(*mtx, mtx_has_scale);
30static_assert(
sizeof(FollowEffect) ==
sizeof(Effect));
Definition FollowEffect.h:6
bool createEffect(EffectID id, const sead::Matrixf &mtx, bool mtx_has_scale)
Definition FollowEffect.h:15
bool createEffect(EffectID id, const sead::Vector3f *trans=nullptr, const Angle3 *angle=nullptr, const sead::Vector3f *scale=nullptr)
bool createEffect(EffectID id, const sead::Matrixf *mtx=nullptr, bool mtx_has_scale=false)
bool follow(const sead::Matrixf *mtx, bool mtx_has_scale)
Definition FollowEffect.h:22