summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-12-23 14:35:29 -0500
committerGravatar GitHub2018-12-23 14:35:29 -0500
commit52726342bd7b030b1a79e577a637d8a325d21dc8 (patch)
treec55ff70b3ee9ada73eca20e4ab5fa9a4649a5e6f /src
parentMerge pull request #1781 from DarkLordZach/applet-profile-select (diff)
parentcommon/quaternion: Ensure that w is always initialized (diff)
downloadyuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.tar.gz
yuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.tar.xz
yuzu-52726342bd7b030b1a79e577a637d8a325d21dc8.zip
Merge pull request #1930 from lioncash/common
common/quaternion: Ensure that w is always initialized
Diffstat (limited to 'src')
-rw-r--r--src/common/quaternion.h2
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>
12class Quaternion { 12class Quaternion {
13public: 13public:
14 Math::Vec3<T> xyz; 14 Math::Vec3<T> xyz;
15 T w; 15 T w{};
16 16
17 Quaternion<decltype(-T{})> Inverse() const { 17 Quaternion<decltype(-T{})> Inverse() const {
18 return {-xyz, w}; 18 return {-xyz, w};