diff options
author | bunnei <bunneidev@gmail.com> | 2016-03-18 09:57:15 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-03-18 09:57:15 -0400 |
commit | 958b978efe1e297687b63c3b3b305519db72ba0f (patch) | |
tree | 2f18bde1c3bf21114ff6e44cff4a42fb4e356feb /src | |
parent | 06b70d170e9418f1162a8a4c9bca92e600281e4d (diff) | |
parent | 1400aeceac6bf6c1c652b286fafe5cab44eec7ff (diff) |
Merge pull request #1543 from lioncash/zero
vector_math: Add missing member in Vec4's SetZero function
Diffstat (limited to 'src')
-rw-r--r-- | src/common/vector_math.h | 5 |
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) |