mirror of
https://github.com/SFML/SFML.git
synced 2025-02-23 14:56:02 +08:00
Use std::array::fill
This commit is contained in:
parent
0c3a64f437
commit
b112409e67
@ -177,8 +177,7 @@ WindowImpl::WindowImpl() : m_joystickStatesImpl(std::make_unique<JoystickStatesI
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get the initial sensor states
|
// Get the initial sensor states
|
||||||
for (Vector3f& vec : m_sensorValue)
|
m_sensorValue.fill({});
|
||||||
vec = Vector3f(0, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user