| 211 | } |
| 212 | |
| 213 | UInt32 Skeleton::GetJointCount() const |
| 214 | { |
| 215 | #if NAZARA_UTILITY_SAFE |
| 216 | if (!m_impl) |
| 217 | { |
| 218 | NazaraError("Skeleton not created"); |
| 219 | return 0; |
| 220 | } |
| 221 | #endif |
| 222 | |
| 223 | return static_cast<UInt32>(m_impl->joints.size()); |
| 224 | } |
| 225 | |
| 226 | int Skeleton::GetJointIndex(const String& jointName) const |
| 227 | { |