common/quaternion: Move Quaternion into the Common namespace
Quaternion is within the common library, so it should be using the Common namespace.
This commit is contained in:
parent
10d1d58390
commit
a1574aabd5
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue