diff --git a/xs/src/libslic3r/TransformationMatrix.cpp b/xs/src/libslic3r/TransformationMatrix.cpp index 279439e79..50d5273fb 100644 --- a/xs/src/libslic3r/TransformationMatrix.cpp +++ b/xs/src/libslic3r/TransformationMatrix.cpp @@ -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); diff --git a/xs/src/libslic3r/TransformationMatrix.hpp b/xs/src/libslic3r/TransformationMatrix.hpp index 03d484331..8c80ef58e 100644 --- a/xs/src/libslic3r/TransformationMatrix.hpp +++ b/xs/src/libslic3r/TransformationMatrix.hpp @@ -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);