Original Post
Hi everyone. I was looking for a quick answer to a little problem I was having, any help would be greatly appreciated
I have an STL vector of objects that represent transparent renderable objects (For arguments sake let''s say billboarded particles). I have to sort this list from back to front. Can someone provide me with instructions on how to do this? I remember something about there being a graceful way to do this using STL by writing a ''less'' function? Which can be used by an STL sorting algorithm?.. If someone could just point me in a generally good direction that would be great.
Thanks in advance.
P.S. Yes, I am new to STL algorithms