Use std::array::fill

This commit is contained in:
Chris Thrasher 2024-12-09 11:58:05 -07:00
parent 0c3a64f437
commit b112409e67
No known key found for this signature in database
GPG Key ID: 56FB686C9DFC8E2C

View File

@ -177,8 +177,7 @@ WindowImpl::WindowImpl() : m_joystickStatesImpl(std::make_unique<JoystickStatesI
}
// Get the initial sensor states
for (Vector3f& vec : m_sensorValue)
vec = Vector3f(0, 0, 0);
m_sensorValue.fill({});
}