What exactly does that mean?
If you're using LWJGL, you might also want to look into something called the "depth buffer" or "z buffer", which does all of this for you.
Type: Posts; User: KevinWorkman
What exactly does that mean?
If you're using LWJGL, you might also want to look into something called the "depth buffer" or "z buffer", which does all of this for you.
You could use a different data structure that handles the sorting for you. At the very least you should be using the built-in sort function instead of writing your own.