15 lines
350 B
C++
15 lines
350 B
C++
#include <QObject>
|
|
#include "skeletonside.h"
|
|
|
|
IMPL_SkeletonSideToDispName
|
|
IMPL_SkeletonSideToString
|
|
|
|
SkeletonSide SkeletonSideFromBoneName(const QString &boneName)
|
|
{
|
|
if (boneName.startsWith("Left"))
|
|
return SkeletonSide::Left;
|
|
else if (boneName.startsWith("Right"))
|
|
return SkeletonSide::Right;
|
|
return SkeletonSide::None;
|
|
}
|