diff options
Diffstat (limited to 'src/common')
-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) |