Skip to content
Snippets Groups Projects
Commit 574baec1 authored by Tom Fischer's avatar Tom Fischer
Browse files

[MeL] Using operator= to (re)set the coordinates of p.

parent c8c086f9
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ void rotateToLocal( ...@@ -28,7 +28,7 @@ void rotateToLocal(
std::vector<MathLib::Point3d> &points) std::vector<MathLib::Point3d> &points)
{ {
for (auto& p : points) for (auto& p : points)
p.setCoords((matR2local*p).getCoords()); p = matR2local*p;
} }
/// get a rotation matrix to the global coordinates /// get a rotation matrix to the global coordinates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment