Merge pull request #1543 from lioncash/zero
vector_math: Add missing member in Vec4's SetZero function
This commit is contained in:
commit
958b978efe
1 changed files with 4 additions and 1 deletions
|
@ -447,7 +447,10 @@ public:
|
||||||
|
|
||||||
void SetZero()
|
void SetZero()
|
||||||
{
|
{
|
||||||
x=0; y=0; z=0;
|
x = 0;
|
||||||
|
y = 0;
|
||||||
|
z = 0;
|
||||||
|
w = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Common alias: RGBA (colors)
|
// Common alias: RGBA (colors)
|
||||||
|
|
Loading…
Reference in a new issue