Skip to content

m_velocityPan initial value. #2345

Open
@hoss291069

Description

@hoss291069

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};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions