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