#ifndef __BNE_ATTACHMENT_UTILS__
#define __BNE_ATTACHMENT_UTILS__
#include <Graphics/Object.h>
namespace bne
{
int32_t GetAttachmentPointIndex(CasualCore::Object* a_pObject, const char* a_attachPointName);
RKMatrix GetAttachmentPointLocalTransform(CasualCore::Object* a_pObject, int32_t a_attachIndex);
inline RKMatrix GetAttachmentPointLocalTransform(CasualCore::Object* a_pObject, const char* a_attachPointName) {
return GetAttachmentPointLocalTransform(a_pObject, GetAttachmentPointIndex(a_pObject, a_attachPointName));
}
} // namespace bne
#endif // __BNE_ATTACHMENT_UTILS__