Re: Question about PriorityQueue -
09-01-2010
IIRC I ripped that code from HL1 SDK, so thaty may be why it's similar as HL2 SDK.
Basically that code only ensures the data is stored as a heap, i.e. the one to be popped is the smallest. And doesn't sort everything.
Last edited by Whistler; 09-01-2010 at 12:50..
|