mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 01:20:40 +08:00
remove unneeded perl binding stuff
This commit is contained in:
parent
ff201b5802
commit
e08eaef02f
@ -1133,11 +1133,6 @@ TransformationMatrix ModelInstance::get_trafo_matrix(bool dont_translate) const
|
|||||||
return trafo;
|
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
|
BoundingBoxf3 ModelInstance::transform_bounding_box(const BoundingBoxf3 &bbox, bool dont_translate) const
|
||||||
{
|
{
|
||||||
// rotate around mesh origin
|
// rotate around mesh origin
|
||||||
|
@ -578,8 +578,6 @@ class ModelInstance
|
|||||||
double scaling_factor; ///< uniform scaling factor.
|
double scaling_factor; ///< uniform scaling factor.
|
||||||
Pointf offset; ///< offset in unscaled coordinates.
|
Pointf offset; ///< offset in unscaled coordinates.
|
||||||
|
|
||||||
TransformationMatrix trafo; ///< Trafomatrix for perl binding
|
|
||||||
|
|
||||||
/// Get the owning ModelObject
|
/// Get the owning ModelObject
|
||||||
/// \return ModelObject* pointer to the owner ModelObject
|
/// \return ModelObject* pointer to the owner ModelObject
|
||||||
ModelObject* get_object() const { return this->object; };
|
ModelObject* get_object() const { return this->object; };
|
||||||
@ -594,10 +592,6 @@ class ModelInstance
|
|||||||
/// \param dont_translate bool whether to translate the mesh or not
|
/// \param dont_translate bool whether to translate the mesh or not
|
||||||
TransformationMatrix get_trafo_matrix(bool dont_translate = false) const;
|
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.
|
/// Transform an external bounding box.
|
||||||
/// \param bbox BoundingBoxf3 the bounding box to be transformed
|
/// \param bbox BoundingBoxf3 the bounding box to be transformed
|
||||||
/// \param dont_translate bool whether to translate the bounding box or not
|
/// \param dont_translate bool whether to translate the bounding box or not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user