You are viewing a single comment's thread from:
RE: Snake3D: Released Version 1.1 containing an upgrade of the GUI.
Thanks for your review.
- It is hard to sort an array if the array itself does not also contain the data that it should be sorted by.
- Yes I could do that, but that wouldn't improve readability (I could only replace the innermost loop which doesn't make a big difference in readability), but it would also mean an unnecessary drop in performance based on the data mentioned here in the second answer.
- You are right. I was thinking about making a new class "Button", but that has some complications so I decided to keep it as it is for now(until the next update).