Tagged Questions
0
votes
0answers
90 views
How can I improve this OpenGL Code (LWJGL, Particles)
I wrote a small particle engine in Java for my Pong clone.
I read that changing a texture is very expensive in OpenGL, so I tried to change the texture as few times as possible.
Therefore I change the ...
0
votes
0answers
62 views
Java reflection and static classes
I try to intercept some OpenGL calls for testing my rendering classes. Reflection is used for replacing the OpenGL backend.
I feel this class is badly written and I need advices for refactoring it.
...