2018-11-01 15:24:06 +00:00
|
|
|
#include "poserconstruct.h"
|
2018-11-06 16:26:19 +00:00
|
|
|
#include "animalposer.h"
|
2018-11-01 15:24:06 +00:00
|
|
|
|
|
|
|
Poser *newPoser(RigType rigType, const std::vector<RiggerBone> &bones)
|
|
|
|
{
|
2018-11-06 16:26:19 +00:00
|
|
|
if (rigType == RigType::Animal)
|
|
|
|
return new AnimalPoser(bones);
|
2018-11-01 15:24:06 +00:00
|
|
|
return nullptr;
|
2018-11-06 16:26:19 +00:00
|
|
|
}
|