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.
関数では、代わりにreshape()コールバック関数を単純に呼び出すことはできますか?display()glutPostRedisplay()
reshape()
display()
glutPostRedisplay()
できますが、それは良い考えではありません。メッセージハンドラーにその仕事をさせてください。
メッセージの処理とレンダリングをより詳細に制御する必要がある場合は、GLFW を使用する必要があります。