summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-03-18 14:57:15 +0100
committerbunnei <bunneidev@gmail.com>2016-03-18 14:57:15 +0100
commit958b978efe1e297687b63c3b3b305519db72ba0f (patch)
tree2f18bde1c3bf21114ff6e44cff4a42fb4e356feb
parentMerge pull request #1505 from pippo2931/fef (diff)
parentvector_math: Add missing member in Vec4's SetZero function (diff)
downloadyuzu-958b978efe1e297687b63c3b3b305519db72ba0f.tar
yuzu-958b978efe1e297687b63c3b3b305519db72ba0f.tar.gz
yuzu-958b978efe1e297687b63c3b3b305519db72ba0f.tar.bz2
yuzu-958b978efe1e297687b63c3b3b305519db72ba0f.tar.lz
yuzu-958b978efe1e297687b63c3b3b305519db72ba0f.tar.xz
yuzu-958b978efe1e297687b63c3b3b305519db72ba0f.tar.zst
yuzu-958b978efe1e297687b63c3b3b305519db72ba0f.zip
-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)