View Single Post
Re: Question about PriorityQueue
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default 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..
  
Reply With Quote