summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-12-23 20:35:29 +0100
committerGitHub <noreply@github.com>2018-12-23 20:35:29 +0100
commit52726342bd7b030b1a79e577a637d8a325d21dc8 (patch)
treec55ff70b3ee9ada73eca20e4ab5fa9a4649a5e6f
parentMerge pull request #1781 from DarkLordZach/applet-profile-select (diff)
parentcommon/quaternion: Ensure that w is always initialized (diff)
downloadyuzu-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
-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>
class Quaternion {
public:
Math::Vec3<T> xyz;
- T w;
+ T w{};
Quaternion<decltype(-T{})> Inverse() const {
return {-xyz, w};