diff options
| author | 2016-03-18 01:49:00 -0400 | |
|---|---|---|
| committer | 2016-03-18 01:49:34 -0400 | |
| commit | 1400aeceac6bf6c1c652b286fafe5cab44eec7ff (patch) | |
| tree | 7367095d070a837283c935f3e966e06d44596ed8 | |
| parent | Merge pull request #1535 from JayFoxRox/fix-align (diff) | |
| download | yuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.tar.gz yuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.tar.xz yuzu-1400aeceac6bf6c1c652b286fafe5cab44eec7ff.zip | |
vector_math: Add missing member in Vec4's SetZero function
| -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: | |||
| 447 | 447 | ||
| 448 | void SetZero() | 448 | void SetZero() |
| 449 | { | 449 | { |
| 450 | x=0; y=0; z=0; | 450 | x = 0; |
| 451 | y = 0; | ||
| 452 | z = 0; | ||
| 453 | w = 0; | ||
| 451 | } | 454 | } |
| 452 | 455 | ||
| 453 | // Common alias: RGBA (colors) | 456 | // Common alias: RGBA (colors) |