diff options
author | bunnei <bunneidev@gmail.com> | 2018-12-23 20:35:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-23 20:35:29 +0100 |
commit | 52726342bd7b030b1a79e577a637d8a325d21dc8 (patch) | |
tree | c55ff70b3ee9ada73eca20e4ab5fa9a4649a5e6f /src | |
parent | Merge pull request #1781 from DarkLordZach/applet-profile-select (diff) | |
parent | common/quaternion: Ensure that w is always initialized (diff) | |
download | yuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.tar yuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.tar.gz yuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.tar.bz2 yuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.tar.lz yuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.tar.xz yuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.tar.zst yuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/quaternion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/quaternion.h b/src/common/quaternion.h index ea39298c1..c528c0b68 100644 --- a/src/common/quaternion.h +++ b/src/common/quaternion.h @@ -12,7 +12,7 @@ template <typename T> class Quaternion { public: Math::Vec3<T> xyz; - T w; + T w{}; Quaternion<decltype(-T{})> Inverse() const { return {-xyz, w}; |