Skip to content
Snippets Groups Projects
Commit c43b8007 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

added missing const

[[Imported from SVN: r843]]
parent 736bdbbb
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ public:
}
/** \brief Right quaternion multiplication */
Quaternion<T> mult(const Quaternion<T>& other) {
Quaternion<T> mult(const Quaternion<T>& other) const {
Quaternion<T> q;
q[0] = (*this)[3]*other[0] - (*this)[2]*other[1] + (*this)[1]*other[2] + (*this)[0]*other[3];
q[1] = (*this)[2]*other[0] + (*this)[3]*other[1] - (*this)[0]*other[2] + (*this)[1]*other[3];
......
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