Skip to content

Commit

Permalink
MathLib: fixed quaternion default value
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Aug 12, 2023
1 parent 5f73978 commit 731040e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/interface/BasicMath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2006,7 +2006,7 @@ using double2x2 = Matrix2x2<double>;
template <typename T = float>
struct Quaternion
{
Vector4<T> q;
Vector4<T> q{0, 0, 0, 1};

constexpr Quaternion(const Vector4<T>& _q) noexcept :
q{_q}
Expand Down

0 comments on commit 731040e

Please sign in to comment.