Removed unused function editor::map_fragment::normalize.

This commit is contained in:
Guillaume Melquiond 2009-12-06 09:56:59 +00:00
parent 4ac493f378
commit 5f137d1aac
2 changed files with 0 additions and 10 deletions

View File

@ -115,11 +115,6 @@ map_location map_fragment::center_of_mass() const
return sum;
}
void map_fragment::normalize()
{
shift(top_left_boundary().vector_negation());
}
void map_fragment::center_by_bounds()
{
shift(center_of_bounds().vector_negation());

View File

@ -109,11 +109,6 @@ class map_fragment
*/
map_location center_of_mass() const;
/**
* Shift the map fragment so that all locations have nonnegative coordinates
*/
void normalize();
/**
* Shift the map fragment so it is roughly centered around the (0,0) point, bounds-wise.
*/