diff options
author | Lioncash <mathew1800@gmail.com> | 2016-03-18 01:49:00 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-03-18 01:49:34 -0400 |
commit | 1400aeceac6bf6c1c652b286fafe5cab44eec7ff (patch) | |
tree | 7367095d070a837283c935f3e966e06d44596ed8 /src/common/vector_math.h | |
parent | 58852bedbfbcfa823784280ea2a52ad20d1f2c52 (diff) |
vector_math: Add missing member in Vec4's SetZero function
Diffstat (limited to 'src/common/vector_math.h')
-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 02688e35e0..cfb9481b68 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) |