- renderer.transform(GL::Matrix::translation(geom.x, geom.y, 0));
- const PartCache::PartList &parts = part_cache.get_parts();
- for(PartCache::PartList::const_iterator i=parts.begin(); i!=parts.end(); ++i)
+ int x = 0;
+ int y = 0;
+ map_coords_to_root(x, y);
+ renderer.set_matrix(GL::Matrix::translation(x, y, 0));
+ for(const CachedPart &p: part_cache.get_parts())