| 205 | } |
| 206 | |
| 207 | Animation3D* Animation3DCache::getAnimation(std::string_view key) |
| 208 | { |
| 209 | auto it = _animations.find(key); |
| 210 | if (it != _animations.end()) |
| 211 | return it->second; |
| 212 | return nullptr; |
| 213 | } |
| 214 | |
| 215 | void Animation3DCache::addAnimation(std::string_view key, Animation3D* animation) |
| 216 | { |