branch | pyrit |
changeset 103 | 3b3257a410fe |
parent 94 | 4c8abb8977dc |
--- a/include/quaternion.h Mon Sep 08 20:14:24 2014 +0200 +++ b/include/quaternion.h Tue Jul 26 17:41:36 2016 +0200 @@ -26,7 +26,7 @@ */ #ifndef QUATERNION_H -#define QUATER_H +#define QUATERNION_H /** * quaternion class @@ -64,7 +64,7 @@ }; Float mag() const { - return sqrtf(mag()); + return sqrtf(mag2()); }; friend Quaternion operator*(const Quaternion &q1, const Quaternion &q2) {