(handle: u32)
| 147 | } |
| 148 | |
| 149 | pub fn get(handle: u32) -> Option<Arc<Model>> { |
| 150 | let reg = MODELS.lock().unwrap(); |
| 151 | reg.get(handle as usize).and_then(|m| m.as_ref().cloned()) |
| 152 | } |
| 153 | |
| 154 | // ---------- GLB parsing ---------- |
| 155 |
no test coverage detected