mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 18:30:42 +08:00
remove unused functions to set translation directly
This commit is contained in:
parent
10fc704784
commit
438e462d11
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user