dust3d/src/poserconstruct.cpp

10 lines
224 B
C++
Raw Normal View History

#include "poserconstruct.h"
#include "animalposer.h"
Poser *newPoser(RigType rigType, const std::vector<RiggerBone> &bones)
{
if (rigType == RigType::Animal)
return new AnimalPoser(bones);
return nullptr;
}