Replace the flip word with mirror. #3060

This commit is contained in:
Alessandro Ranellucci 2015-11-04 23:11:30 +01:00
parent f8d2c69713
commit 61f0a9e4da
8 changed files with 31 additions and 31 deletions

View file

@ -529,10 +529,10 @@ ModelObject::rotate(float angle, const Axis &axis)
}
void
ModelObject::flip(const Axis &axis)
ModelObject::mirror(const Axis &axis)
{
for (ModelVolumePtrs::const_iterator v = this->volumes.begin(); v != this->volumes.end(); ++v) {
(*v)->mesh.flip(axis);
(*v)->mesh.mirror(axis);
}
this->origin_translation = Pointf3(0,0,0);
this->invalidate_bounding_box();