CSkinnedModel: Convert typedef into using alias

Same behavior, nicer to read.
This commit is contained in:
Lioncash 2020-04-01 00:06:49 -04:00
parent 7117e298d9
commit 254a96313a
1 changed files with 1 additions and 1 deletions

View File

@ -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;