Skip to content
Snippets Groups Projects
Commit d5866fd2 authored by Youett, Jonathan's avatar Youett, Jonathan Committed by akbib@FU-BERLIN.DE
Browse files

normalize the quaternion to get more stability

[[Imported from SVN: r8508]]
parent d738f1c9
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,7 @@ public:
rot[j][2] = dir2[j];
}
rod[i].q.set(rot);
rod[i].q.normalize();
}
std::cout << "Rod successfully read from: " << filename << std::endl;
......
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