Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

vector_math: Add missing member in Vec4's SetZero function

Lioncash0c837758270e
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)