summaryrefslogtreecommitdiff
path: root/src/common/quaternion.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-02-26 22:31:15 -0500
committerLioncash <mathew1800@gmail.com>2019-02-26 22:31:17 -0500
commita1574aabd510d5fdc3842780b1d833aa2fb8eac6 (patch)
treea8e990d67681629fd5383263180cbceb85582695 /src/common/quaternion.h
parent10d1d58390cfb7eae40adb98ab9397eb3204b5ae (diff)
common/quaternion: Move Quaternion into the Common namespace
Quaternion is within the common library, so it should be using the Common namespace.
Diffstat (limited to 'src/common/quaternion.h')
-rw-r--r--src/common/quaternion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/quaternion.h b/src/common/quaternion.h
index c528c0b68..1c304b048 100644
--- a/src/common/quaternion.h
+++ b/src/common/quaternion.h
@@ -6,7 +6,7 @@
#include "common/vector_math.h"
-namespace Math {
+namespace Common {
template <typename T>
class Quaternion {
@@ -46,4 +46,4 @@ inline Quaternion<float> MakeQuaternion(const Math::Vec3<float>& axis, float ang
return {axis * std::sin(angle / 2), std::cos(angle / 2)};
}
-} // namespace Math
+} // namespace Common