| 152 | } |
| 153 | |
| 154 | std::shared_ptr<Poseidon::Model::Model> ModelCache::get(const std::string& filePath) const |
| 155 | { |
| 156 | std::string key = normalizePath(filePath); |
| 157 | auto it = _cache.find(key); |
| 158 | return (it != _cache.end()) ? it->second : nullptr; |
| 159 | } |
| 160 | |
| 161 | bool ModelCache::unload(const std::string& filePath) |
| 162 | { |
no test coverage detected