summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-18 06:49:00 +0100
committerLioncash <mathew1800@gmail.com>2016-03-18 06:49:34 +0100
commit1400aeceac6bf6c1c652b286fafe5cab44eec7ff (patch)
tree7367095d070a837283c935f3e966e06d44596ed8
parentMerge pull request #1535 from JayFoxRox/fix-align (diff)
downloadyuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.tar
yuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.tar.gz
yuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.tar.bz2
yuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.tar.lz
yuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.tar.xz
yuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.tar.zst
yuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.zip
Diffstat (limited to '')
-rw-r--r--src/common/vector_math.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/vector_math.h b/src/common/vector_math.h
index 02688e35e..cfb9481b6 100644
--- a/src/common/vector_math.h
+++ b/src/common/vector_math.h
@@ -447,7 +447,10 @@ public:
void SetZero()
{
- x=0; y=0; z=0;
+ x = 0;
+ y = 0;
+ z = 0;
+ w = 0;
}
// Common alias: RGBA (colors)