added more quaternion methods

This commit is contained in:
Roman
2015-12-19 09:47:03 +01:00
parent 9cd6ac3dd9
commit 10b395a782
5 changed files with 167 additions and 13 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ public:
Type dot(const MatrixM1 & b) const {
const Vector &a(*this);
Type r = 0;
for (int i = 0; i<M; i++) {
for (size_t i = 0; i<M; i++) {
r += a(i)*b(i,0);
}
return r;