Adding wireframe and point render mode
In a previous chapter, that is, Chapter 3, Camera, Light, and Shadow, we used the R key to change the render mode to wireframe or point rendering. We want to add this feature to our own framelistener now.
framelistener