mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-04 01:26:29 +08:00
change to noexcept data function to get pointer to transform matrix
This commit is contained in:
parent
8219ffe1e3
commit
18a85e93f6
@ -282,8 +282,8 @@ TriangleMesh::WriteOBJFile(const std::string &output_file) const {
|
||||
|
||||
void TriangleMesh::transform(const TransformationMatrix &trafo)
|
||||
{
|
||||
std::vector<float> trafo_arr = trafo.matrix3x4f;
|
||||
stl_transform(&this->stl, &(trafo_arr.at(0)));
|
||||
std::vector<float> trafo_arr = trafo.matrix3x4f();
|
||||
stl_transform(&this->stl, trafo_arr.data());
|
||||
stl_invalidate_shared_vertices(&this->stl);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user