Vec3: Remove a memset call on the this pointer
This commit is contained in:
1 parent
d373dd372d
commit
bb27f80a65
1 file changed
+3
-1
@@ -158,7 +158,9 @@ public:
|
||||
|
||||
void SetZero()
|
||||
{
|
||||
memset((void*)this, 0, sizeof(float) * 3);
|
||||
x = 0.0f;
|
||||
y = 0.0f;
|
||||
z = 0.0f;
|
||||
}
|
||||
|
||||
void DoState(PointerWrap &p)
|
||||
|
||||
Reference in new issue
Block a user