add default null-pointer argument

This commit is contained in:
Michael Kirsch 2019-05-25 01:27:45 +02:00 committed by Joseph Lenox
parent b55b220efc
commit 1da02f02c2

View File

@ -482,7 +482,7 @@ class ModelVolume
/// Get the ModelVolume's mesh, transformed by the ModelVolume's TransformationMatrix /// Get the ModelVolume's mesh, transformed by the ModelVolume's TransformationMatrix
/// \param additional_trafo additional transformation /// \param additional_trafo additional transformation
/// \return TriangleMesh the transformed mesh /// \return TriangleMesh the transformed mesh
TriangleMesh get_transformed_mesh(TransformationMatrix const * additional_trafo) const; TriangleMesh get_transformed_mesh(TransformationMatrix const * additional_trafo = nullptr) const;
/// Get the material id of this ModelVolume object /// Get the material id of this ModelVolume object
/// \return t_model_material_id the material id string /// \return t_model_material_id the material id string
@ -547,6 +547,7 @@ class ModelInstance
/// \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; };
//TRAFO:should be deprecated
/// Transform an external TriangleMesh object /// Transform an external TriangleMesh object
/// \param mesh TriangleMesh* pointer to the the mesh /// \param mesh TriangleMesh* pointer to the the mesh
/// \param dont_translate bool whether to translate the mesh or not /// \param dont_translate bool whether to translate the mesh or not