You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
In util/inputHandler.h file member object m_velocityPan does not initialize.
In Linux OS usually uninitialized variables take zero value but in windows it's value is unknown.
if this variable has a big number at startup, it cause fast moving to unknown position. That's why I think it's better initialize in header to zero.
glm::vec2 m_velocityPan={0,0};
The text was updated successfully, but these errors were encountered:
I believe this variable is already being initialized to zero by its default constructor. The glm::vec types have optional default constructors that we enable with the GLM_FORCE_CTOR_INIT define in our build script.
Have you observed this variable being initialized with a non-zero value?
Hi
In util/inputHandler.h file member object m_velocityPan does not initialize.
In Linux OS usually uninitialized variables take zero value but in windows it's value is unknown.
if this variable has a big number at startup, it cause fast moving to unknown position. That's why I think it's better initialize in header to zero.
glm::vec2 m_velocityPan={0,0};
The text was updated successfully, but these errors were encountered: