mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 09:02:30 +00:00
Removed unused function editor::map_fragment::normalize.
This commit is contained in:
parent
4ac493f378
commit
5f137d1aac
@ -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());
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user