remove unused functions to set translation directly

This commit is contained in:
Michael Kirsch 2019-05-26 13:16:30 +02:00 committed by Joseph Lenox
parent 10fc704784
commit 438e462d11
2 changed files with 0 additions and 29 deletions

View File

@ -123,25 +123,6 @@ void TransformationMatrix::translateXY(Slic3r::Pointf position)
this->applyLeft(mat);
}
void TransformationMatrix::setTranslation(double x, double y, double z)
{
this->m14 = x;
this->m24 = y;
this->m34 = z;
}
void TransformationMatrix::setXYtranslation(double x, double y)
{
this->m14 = x;
this->m24 = y;
}
void TransformationMatrix::setXYtranslation(Slic3r::Pointf position)
{
this->m14 = position.x;
this->m24 = position.y;
}
void TransformationMatrix::scale(double factor)
{
this->scale(factor, factor, factor);

View File

@ -39,16 +39,6 @@ public:
void translate(double x, double y, double z);
void translateXY(Slic3r::Pointf position);
/// Set translation vector directly
void setTranslation(double x, double y, double z);
/// Set X and Y components of translation directly
void setXYtranslation(double x, double y);
void setXYtranslation(Slic3r::Pointf position);
/// Set Z component of translation directly
void setZtranslation(double z);
/// Perform uniform scale
void scale(double factor);