| 235 | } |
| 236 | |
| 237 | static Object* GetIdToObjectMapValue(std::vector<Object*>& object_from_id_map_, int id) { |
| 238 | Object* result = NULL; |
| 239 | if (id >= 0 && id < object_from_id_map_.size()) { |
| 240 | result = object_from_id_map_[id]; |
| 241 | } |
| 242 | return result; |
| 243 | } |
| 244 | |
| 245 | void SceneGraph::AssignID(Object* obj) { |
| 246 | int temp_id = obj->GetID(); |
no test coverage detected