Summary
In this chapter, you learned how to add ImGui to the application to create a simple, widget-based UI, enabling you to output valuable data from your application, such as the FPS counter and various timings of code passages and functions. You also learned how to use ImGui widgets as input elements to control your application using a mouse.
A large variety of ImGui widgets is available already in the official GitHub repository, and many more have been created and contributed by users around the world. So, if you need a widget for some kind of UI task, there’s a chance such a widget is already available and waiting to be used.
In the next chapter, we take a closer look at vector and matrix data types and the operations between them using GLM. Having the operations at hand, without the need to define them for all data types, makes our lives much easier. We will peek into the mathematical background of some operations to understand what happens in the code and in the...