From ef73487fcaeb5b767980d9587869dcb9b2034bce Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 13 Dec 2014 10:35:16 -0800 Subject: [PATCH] Fix Vec4::SetZero() not clearing all lanes. --- GPU/Math3D.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Math3D.h b/GPU/Math3D.h index 7c9f540476..8adb449e8d 100644 --- a/GPU/Math3D.h +++ b/GPU/Math3D.h @@ -636,7 +636,7 @@ public: void SetZero() { - x=0; y=0; z=0; + x=0; y=0; z=0; w=0; } // Common alias: RGBA (colors)