Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们可以传递额外的参数glutKeyboardFunc吗?我有一个班级,我想在按下某个键时修改班级的数据。该类在全局范围内,但该类的对象对于某些函数是本地的。此外,我不想使对象成为全局对象。
glutKeyboardFunc