mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Vec3: Remove a memset call on the this pointer
This commit is contained in:
@ -158,7 +158,9 @@ public:
|
|||||||
|
|
||||||
void SetZero()
|
void SetZero()
|
||||||
{
|
{
|
||||||
memset((void*)this, 0, sizeof(float) * 3);
|
x = 0.0f;
|
||||||
|
y = 0.0f;
|
||||||
|
z = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoState(PointerWrap &p)
|
void DoState(PointerWrap &p)
|
||||||
|
Reference in New Issue
Block a user