mirror of https://github.com/AxioDL/metaforce.git
CSkinnedModel: Convert typedef into using alias
Same behavior, nicer to read.
This commit is contained in:
parent
7117e298d9
commit
254a96313a
|
@ -47,7 +47,7 @@ public:
|
||||||
const std::optional<CVertexMorphEffect>& morphEffect, const float* morphMagnitudes);
|
const std::optional<CVertexMorphEffect>& morphEffect, const float* morphMagnitudes);
|
||||||
void Draw(const CModelFlags& drawFlags) const;
|
void Draw(const CModelFlags& drawFlags) const;
|
||||||
|
|
||||||
typedef void (*FPointGenerator)(void* item, const std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vn);
|
using FPointGenerator = void (*)(void* item, const std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vn);
|
||||||
static void SetPointGeneratorFunc(void* ctx, FPointGenerator func) {
|
static void SetPointGeneratorFunc(void* ctx, FPointGenerator func) {
|
||||||
g_PointGenFunc = func;
|
g_PointGenFunc = func;
|
||||||
g_PointGenCtx = ctx;
|
g_PointGenCtx = ctx;
|
||||||
|
|
Loading…
Reference in New Issue