Closed nickclark2016 closed 2 years ago
Many thanks for your suggestions.
No problem!
I have something that might be of interest to you. I have a debugging utility for OpenGL and GLFW. I don't mind if you use this in the future! I enjoy what you are doing. Please keep up the good work!
https://github.com/nickclark2016/Luminos/blob/master/src/tk/luminos/DebugUtil.java
Very interesting tool. In fact, this something that can be very useful. I will have a look at it.
Another recommendation for you:
When processing things for rendering, use Java 8's streams. When I submitted everything to a map for rendering, I found that it was more efficient to use parallel streams to add each entity to a map. This way, when entities are submitted, less time is spent on computing with respect to the rendering!
As I have been reading through the book, I have a few ideas for future chapters that you can add (solely graphics).