VS2019: C++ object member resets to 0 after constructor exits

后端 未结 0 1747
遥遥无期
遥遥无期 2021-02-04 21:29

I call the constructor for a simple vec2i object, passing the x and the y as arguments. However, after the constructor is done, the y coordinate (second argument) is 0.

I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题