remove unneeded perl binding stuff

This commit is contained in:
Michael Kirsch 2019-06-02 21:10:30 +02:00 committed by Joseph Lenox
parent ff201b5802
commit e08eaef02f
2 changed files with 0 additions and 11 deletions

View File

@ -1133,11 +1133,6 @@ TransformationMatrix ModelInstance::get_trafo_matrix(bool dont_translate) const
return trafo;
}
void ModelInstance::set_local_trafo_matrix(bool dont_translate)
{
this->trafo = this->get_trafo_matrix(dont_translate);
}
BoundingBoxf3 ModelInstance::transform_bounding_box(const BoundingBoxf3 &bbox, bool dont_translate) const
{
// rotate around mesh origin

View File

@ -578,8 +578,6 @@ class ModelInstance
double scaling_factor; ///< uniform scaling factor.
Pointf offset; ///< offset in unscaled coordinates.
TransformationMatrix trafo; ///< Trafomatrix for perl binding
/// Get the owning ModelObject
/// \return ModelObject* pointer to the owner ModelObject
ModelObject* get_object() const { return this->object; };
@ -594,10 +592,6 @@ class ModelInstance
/// \param dont_translate bool whether to translate the mesh or not
TransformationMatrix get_trafo_matrix(bool dont_translate = false) const;
/// Returns a pointer to TransformationMatrix defined by the instance's Transform an external TriangleMesh to the returned TriangleMesh object
/// \param dont_translate bool whether to translate the mesh or not
void set_local_trafo_matrix(bool dont_translate);
/// Transform an external bounding box.
/// \param bbox BoundingBoxf3 the bounding box to be transformed
/// \param dont_translate bool whether to translate the bounding box or not